Okta¶
Note
Check Okta's documentation for the current console steps.
Register the application¶
- Admin console → Applications → Create App Integration → OIDC - OpenID Connect → Web Application.
- Sign-in redirect URI:
https://ca.example.com:8443/v1/oidc/callback. - Note the Client ID and Client secret.
- 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:
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