Configure federated authentication with Okta
Okta
Step 1. Create a SAML application in Okta
-
Go to the Okta Admin console
-
In the left menu, click Applications → Applications.
-
Click Create app integration.
-
In the Create a new app integration dialog, select SAML 2.0 and click Next.
-
Under General settings, enter an app name, such as
DoubleCloud
. -
Click Next.
-
In Single sign-on URL and Audience URI, enter
https://double.cloud
.Make sure that the Use this for Recipient URL and Destination URL checkbox is enabled.
This is a placeholder value that you will change at a later step
You need to use a placeholder here because you can get the actual URL only after you configure the federation on the DoubleCloud side.
-
Click Next at the bottom of the page.
-
Click Finish.
-
On the Sign on tab, click View SAML setup instructions at the bottom of the right panel. The How to configure SAML 2.0... page will open with details you need to configure the federation in DoubleCloud.
-
Download the certificate from step 3.
-
Keep this page open.
Step 2. Create a federation in DoubleCloud
-
Go to the DoubleCloud console.
-
In the top bar, click your organization name → Manage organizations.
-
Select Members from the panel on the left and switch to the Federations tab.
-
Click Create and enter the following details in the form:
-
Name: Federation name, such as
Okta
. -
Cookie lifetime: Desired cookie lifetime.
-
IdP Issuer: The Identity provider issuer value from the How to configure SAML 2.0... page. It has the
http://okta.com/<app-id>/
format. -
Login URL: The Identity provider single sign-on URL value from the How to configure SAML 2.0... page. It has the
https://<company-name>.okta.com/app/<app-name>/<app-id>/sso/saml
format. -
Under Advanced, enable Automatically create users if you want to add users to your organization automatically when they sign in. If you keep it disabled, you’ll need to manually add your federated users.
-
-
Click Create federation. The Federation overview page will open.
-
Click Add certificates and upload the SAML certificate you downloaded from the How to configure SAML 2.0... page.
Keep the Federation overview page open.
Step 3. Finish configuration in Okta
-
Switch back to Okta.
-
In the left menu, click Applications → Applications.
-
Select your application from the list.
-
In SAML settings, click Edit.
-
Click Next to go to the Configure SAML step.
-
In Single sign-on URL and Audience URI, replace the placeholder with the Link to federation login page value from the Federation overview page in DoubleCloud.
-
Click Next.
-
Click Finish.
Step 4. (Optional) Add users
If you didn't enable creating users automatically, you need to add them manually in the DoubleCloud console.
To add a federation user manually:
-
Go to the DoubleCloud console.
-
In the top bar, click your organization name → Manage organization.
-
Select Members from the panel on the left.
-
Under Invite to the organization, select SSO.
-
In the dropdown, select your federation.
-
Enter the emails of the users you want to invite and click Invite.
Step 5. Test the federation
-
Log in to the DoubleCloud console using the federation URL.
-
Authenticate on the Okta login page you’re redirected to.