Skip to main content

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​

  1. In Okta's Admin Console, open Applications → Create App Integration.
  2. Choose OIDC - OpenID Connect, then Web Application.
  3. Sign-in redirect URIs: paste the redirect URI shown by the Hikube console.
  4. Grant type: Authorization Code.
  5. Client authentication: Client secret. You can check Require PKCE as additional verification.
  6. 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 serverDiscovery URL
default custom serverhttps://acme.okta.com/oauth2/default/.well-known/openid-configuration
Other custom serverhttps://acme.okta.com/oauth2/<server id>/.well-known/openid-configuration
Okta organization serverhttps://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).

  1. Open Security → API → Authorization Servers, then the server chosen in step 3 and the Claims tab.
  2. 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.
  3. In Hikube, enter groups in 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 nameStandard claims of the email and profile scopes
email_verifiedSent
Confirm the address by a link can be turned offYes
Roles claimgroups
PKCESupported