Configure Okta
Verified provider
Hikube has verified this configuration on a test Okta organization: complete sign-ins, groups claim, role bindings and change of application.
This page describes the Okta part. First read Quick start, then come back to Create the SSO connection for the Hikube part.
1. Create the application
- In Okta's Admin Console, open Applications → Create App Integration.
- Choose OIDC - OpenID Connect, then Web Application.
- Sign-in redirect URIs: paste the redirect URI shown by the Hikube console.
- Grant type: Authorization Code.
- Client authentication: Client secret. You can check Require PKCE as additional verification.
- Save, then copy the Client ID and the Client secret.
2. Assign people
In Assignments, assign only the people or groups who need Hikube. A person assigned only through a group can no longer sign in once removed from that group.
3. Find the discovery URL
| Authorization server | Discovery URL |
|---|---|
default custom server | https://acme.okta.com/oauth2/default/.well-known/openid-configuration |
| Other custom server | https://acme.okta.com/oauth2/<server id>/.well-known/openid-configuration |
| Okta organization server | https://acme.okta.com/.well-known/openid-configuration |
With a custom domain, replace acme.okta.com with that domain.
4. Add the groups claim (optional)
Do this only if Okta must decide the tiers in Hikube (see Grant tiers from your provider).
- Open Security → API → Authorization Servers, then the server chosen in step 3 and the Claims tab.
- Add a claim named
groups:- included in the ID Token, Always (not only for a scope);
- Value type: Groups;
- a filter, 100 groups at most. For example Starts with
hikube-, if your Hikube groups share this prefix.
- In Hikube, enter
groupsin Roles claim.
Add the claim to the authorization server, not to the application. A server claim applies to all the applications that use it.
Summary
| Okta | |
|---|---|
| E-mail address, first name and last name | Standard claims of the email and profile scopes |
email_verified | Sent |
| Confirm the address by a link can be turned off | Yes |
| Roles claim | groups |
| PKCE | Supported |