Skip to Content
SSOOkta

Okta

Connect indox to Okta with SAML 2.0, then optionally let Okta provision people through SCIM. Read Single sign-on first: it covers the indox side and the requirements referred to below.

You need: an Okta admin who can create app integrations, and an indox business admin (the owner, for SCIM). In indox, open Settings → Single sign-on, verify your domain and note the values under Values for your identity provider. The examples use the sign-in name example.

1. Create the SAML app

  1. In the Okta Admin Console, go to Applications → Applications → Create App Integration, choose SAML 2.0 and press Next.

  2. Name it indox and press Next.

  3. Under SAML Settings:

    Okta fieldValue
    Single sign-on URLthe ACS URL, e.g. https://indox.org/accounts/saml/example/acs/ (keep Use this for Recipient URL and Destination URL checked)
    Audience URI (SP Entity ID)the Entity ID, e.g. https://indox.org/accounts/saml/example/metadata/
    Name ID formatEmailAddress
    Application usernameEmail
  4. Press Show Advanced Settings and set Response to Signed, Assertion Signature to Signed, Signature Algorithm to RSA-SHA256 and Digest Algorithm to SHA256. indox refuses a response where either part is unsigned.

  5. Under Attribute Statements (optional), add with name format URI Reference:

    NameValue
    http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givennameuser.firstName
    http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surnameuser.lastName
  6. Optional, for role mapping: under Group Attribute Statements (optional), add name groups, filter Matches regex and value .* (or a narrower expression). Okta sends the matching group names.

  7. Press Next, answer the feedback question and press Finish.

  8. On the Assignments tab, assign the people or groups who may use indox.

Leave Single Logout off. Okta returns its logout response with HTTP-POST, and indox accepts single logout over HTTP-Redirect only. Signing out of indox still ends the indox session.

2. Hide the app tile

Okta’s dashboard tile starts sign-in at Okta, which indox refuses (sso.idp_initiated_rejected). Okta’s documented workaround is a hidden SAML app plus a visible bookmark app:

  1. In the SAML app, open General → App Settings → Edit and check the option that hides the application icon from users.
  2. Create a Bookmark App (Browse App Catalog → Bookmark App) with the URL set to your Sign-in link for your team’s bookmark, e.g. https://indox.org/en-US/sso/example, and assign it to the same people.

3. Connect indox

  1. In Okta, on the SAML app’s Sign On tab, copy the app’s identity provider metadata URL.
  2. In indox, under Identity provider, choose SAML 2.0, paste the URL into Metadata URL and press Save settings.
  3. Map Okta group names to roles under Role mapping if you added the group statement.
  4. Press Run test sign-in and sign in as an assigned user.

OpenID Connect instead of SAML

  1. Applications → Applications → Create App Integration, choose OIDC - OpenID Connect and Web Application.

  2. Set Sign-in redirect URIs to the Redirect URI (OpenID Connect), e.g. https://indox.org/accounts/oidc/example/login/callback/, keep Client secret authentication, and assign people under Assignments.

  3. In indox choose OpenID Connect and enter:

    indox fieldValue
    Issuer URLhttps://<your-okta-domain>, or your custom authorization server’s issuer such as https://<your-okta-domain>/oauth2/default
    Client ID / Client secretfrom the app’s General tab

For role mapping, configure a groups claim on the app (org authorization server) or on your custom authorization server. Okta does not offer SCIM on an OIDC app; use the SAML app for SCIM.

SCIM provisioning (optional)

SCIM runs on the SAML app from step 1.

  1. In indox, set Provisioning to SCIM (managed by your IdP), save, and have the owner press Issue new token. Copy the token: it is shown once.

  2. In Okta, on the SAML app’s General tab, edit App Settings and set Provisioning to SCIM.

  3. On the new Provisioning tab, under Integration, press Edit and enter:

    Okta fieldValue
    SCIM connector base URLhttps://indox.org/scim/v2/
    Unique identifier field for usersuserName
    Supported provisioning actionsPush New Users, Push Profile Updates, Push Groups
    Authentication ModeHTTP Header, with the indox token as the Bearer token
  4. Press Test Connector Configuration, then Save.

  5. Under Provisioning → To App, enable Create Users, Update User Attributes and Deactivate Users.

  6. On the Push Groups tab, push the groups you use in Role mapping.

People are created with their Okta email as userName, which must be on your verified domain. Unassigning someone in Okta deactivates them in your indox business.