OneLogin

Setting Up OneLogin Federated 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.

Setting OneLogin as an Identity provider

To setup OneLogin for SSO do the following:

Step 1: Configure app on the OneLogin dashboard

Log in to the OneLogin Administration Dashboard, and click Apps > Add Apps.

OneLogin Dashboard

OneLogin Dashboard

Find the OpenId Connect App from the search field.

Locating the OpenId Connect App

Locating the OpenId Connect App

Setup a Codefresh application

Adding a new application

Adding a new application

Open the SSO tab to get the Client ID and client Secret

Copying the values of Client ID and Secret

Copying the values of Client ID and Secret

Note down the values as they will be used in the next section.

Step 2: Configure OneLogin app with Codefresh service provider settings

Go back into Codefresh and choose OneLogin at the SSO Settings

Choosing OneLogin for Auth

Choosing OneLogin for Auth

In the configuration screen fill in the following:

  • DISPLAY NAME - Friendly SSO name (arbitrary)
  • CLIENT ID - Use the value you got from the previous section
  • CLIENT SECRET - Use the value you got from the previous section

Entering Codefresh Settings

Entering Codefresh Settings

After clicking SAVE you’ll see the generated Client Name:

Getting the auto-generated Client Name

Getting the auto-generated Client Name

Note this down.

Step 3: Setup Login and Redirect URI’s

Go back to the OneLogin dashboard.

Use the Client Name from the previous section to generate the Login Url and Redirect URI’s

  • 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

Login and Redirect URI

Login and Redirect URI

This concludes the SSO setup for OneLogin.

See the overview page on how to test the integration, activate SSO for collaborators and create sync jobs.