Skip to content

Okta

Note

Check Okta's documentation for the current console steps.

Register the application

  1. Admin console → Applications → Create App Integration → OIDC - OpenID Connect → Web Application.
  2. Sign-in redirect URI: https://ca.example.com:8443/v1/oidc/callback.
  3. Note the Client ID and Client secret.
  4. Assign the people or groups that may use it.

Groups

Add a groups claim to the authorization server you use (for .../oauth2/default: Security → API → Authorization Servers → default → Claims), included in the ID token, with a filter for the groups BastionXP CA needs. If it is tied to a groups scope, ask for it:

oidc:
  scopes: [openid, profile, email, groups]

Configuration

server:
  url: https://ca.example.com:8443

oidc:
  issuer: https://<org>.okta.com/oauth2/default    # or https://<org>.okta.com
  client_id: <client-id>
  client_secret_file: /etc/bastionxp-ca/oidc-client-secret

access:
  - groups: [linux-users]
    ssh_principals: ["{short_username}"]
  - groups: [ca-admins]
    admin: true