Skip to content
AI GatewayAI Gateway Manual

Okta integration

Before bootstrap, register an OIDC application for AI Gateway in Okta and assign the users who sign in.

To use Okta as the identity provider, register one web application for AI Gateway in Okta before bootstrap, and assign the users or groups who will use AI Gateway to that application.

For the redirect URI, scopes, and network constraints, follow IdP app registration in Bootstrap.

The Okta screen names follow Okta’s Create OpenID Connect app integrations.

  1. In the Okta Admin Console, go to Applications and Resources → Applications and click Create App Integration. If Okta asks you to choose an experience, choose Classic experience.
  2. Select OIDC - OpenID Connect as the sign-in method and Web Application as the application type.
  3. Under Grant type, select Authorization code. Add the redirect URI to Sign-in redirect URIs.
  4. Leave Client authentication as Client secret. The Admin Console does not show whether the secret is sent with HTTP Basic or POST. Okta uses client_secret_basic unless another method is specified when the application is registered through the API (Okta: Client authentication methods), so select Basic in bootstrap step 3. A mismatch causes login to fail after setup completes.
  1. On the application’s Assignments tab, click Assign and choose Assign to People or Assign to Groups (Okta: Assign app integrations). Add the first administrator account and any other users or groups that will use AI Gateway. Okta blocks login for accounts that are not assigned to the application.
  2. Review the application’s sign-in policy (Okta: App sign-in policies). If the policy requires an authenticator the first administrator has not enrolled, Okta asks them to enroll it, and rejects the login when the enrollment policy does not allow it.

In bootstrap step 3, select Okta and enter the following values.

FieldValue
Issuer URLThe Okta org root (https://<org>.okta.com) or a custom authorization server (https://<org>.okta.com/oauth2/<id>) (Okta: Authorization servers). Only https:// issuers are accepted.
Client IDThe application’s Client ID
Client secretThe application’s Client Secret
Client authentication methodBasic for an application created in the Admin Console (step 1.4)

To sync Okta users and groups as AI Gateway members and teams, see Okta user provisioning.

SymptomCause and action
Login blocked on the Okta sign-in screenThe account is not assigned to the AI Gateway application, or the application’s sign-in policy requires an authenticator the account cannot satisfy. Find the specific reason in Reports → System Log (Okta: System Log).
Issuer URL rejected at step 3Check that the URL starts with https:// and equals the issuer value in <issuer URL>/.well-known/openid-configuration.