Skip to main content

Okta Setup

Set up Okta as your OIDC identity provider for Cloud ex Machina.

1. Create an OIDC application in Okta​

  1. Sign in to the Okta Admin Console.
  2. Open Applications → Applications, then Create App Integration.
  3. Select OIDC - OpenID Connect.
  4. Select Web Application as the application type.
  5. Name the application Cloud ex Machina.

2. Set the redirect URIs​

  1. Open Organization Settings → SSO in Cloud ex Machina.
  2. Select Okta as the identity provider.
  3. Copy the redirect URI that the tab shows. It is the URI of the host you are on.
  4. In Okta, add both redirect URIs below to Sign-in redirect URIs.

Register a redirect URI for each host your team signs in on. For the organization acme:

https://app.cloudexmachina.io/auth/callback/okta
https://acme.app.cloudexmachina.io/auth/callback/okta

Replace acme with your organization ID. If the tab shows another host than app.cloudexmachina.io, use that host.

3. Assign users​

Assign the users or groups that need access under the application's Assignments tab.

4. Collect the values​

From the Okta application, collect:

  • Client ID — on the application's General tab.
  • Client secret — on the application's General tab.
  • OIDC discovery endpoint — https://<your-okta-domain>/.well-known/openid-configuration. If you use a custom authorization server, use its issuer URL plus /.well-known/openid-configuration.

5. Save in Cloud ex Machina​

  1. Return to Organization Settings → SSO.
  2. Select Okta as the identity provider.
  3. Paste the client ID, client secret, and OIDC discovery endpoint.
  4. Set Require SSO if your team must sign in with Okta only.
  5. Select Save SSO configuration.

On your next sign-in, enter your work email on the login page. Then select Continue with Okta. The button shows the display name of your configuration.