OneLogin Single Sign-On (SSO)
In this page we will see the process of setting up OneLogin SSO with Codefresh. For the general instructions of SSO setup see the overview page.
Set up OneLogin as an Identity provider
- Configure app on the OneLogin dashboard:
- Log in to the OneLogin Administration Dashboard, and select Apps > Add Apps.
- Find OpenId Connect (OIDC) app using the search field.
- Setup a Codefresh application.
- From the sidebar, select SSO and copy the Client ID and the Client Secret.
Set Application Type to Web, and Token endpoint Authentication to POST.
Configure SSO for OneLogin in Codefresh
- In the Codefresh UI, go to Single Sign-On.
- Select + Add Single Sign-On and then select OneLogin.
- Enter the following:
- Client Name: For auto-generation, leave empty. Codefresh generates the client name once you save the settings.
- Display Name: Friendly SSO name (arbitrary).
- Client ID: The Client ID you copied from OneLogin.
- Client Secret: The Client Secret you copied from OneLogin.
- Domain: Optional. The domain to be used for authentication, only for users who must connect via a custom domain.
- API CLIENT ID and API CLIENT SECRET: Used for team sync only. For details, see the official documentation.
- Select + Add. Codefresh generates the client name. Note this down.
Set up login and redirect URIs
Go back to the OneLogin dashboard.
Use the Client Name from the previous section to generate the Login URL and Redirect URIs:
- Example Client Name:
t0nlUJoqQlDv
- Example Login Url:
https://g.codefresh.io/api/auth/t0nlUJoqQlDv
- Example Redirect URI:
https://g.codefresh.io/api/auth/t0nlUJoqQlDv/callback
You have now completed SSO setup for OneLogin.
What to read next
See the overview page on how to test the integration, activate SSO for collaborators and create sync jobs.