Skip to main content

Overview

Okta Single Sign-On (SSO) enables users to log in to Collate with their Okta credentials using OAuth 2.0 and OpenID Connect (OIDC) protocols. Collate supports two client types for Okta:
  • Confidential: For web applications and backend services that can securely store a client secret. Okta typically uses this type.
  • Public: For applications that can’t store a client secret.
Collate supports Single Sign-On (SSO) integration with various identity providers, enabling secure, centralized user authentication.

Configure Okta SSO

Complete the following steps to configure Okta SSO.
  1. Click the Profile icon and navigate to Settings > Single Sign-On. Single Sign-On page with the Choose Provider list
  2. Click Okta. The Okta configuration page opens. Select Okta from the Choose Provider list
  3. Enter the configuration details. For more information, see Configuration Fields. Okta SSO configuration page
  4. Click Test Login and complete the sign-in. For more information, see Test Login.
  5. Click Save to finish the SSO configuration.
Saving a new SSO configuration signs you out and redirects you to the login page. Run Test Login and sign in successfully before you save. A configuration that can’t sign you in locks you out. If Test Login hasn’t passed, the form shows a warning with a Save anyway button.

Add an Okta Tile

An Okta tile is an app icon on your users’ Okta dashboard. Users click the tile to open Collate and sign in without going to the Collate URL first. The setup differs for OIDC and SAML.

OIDC

In the Okta Admin Console, open your OIDC (Web) application and complete the following steps.
  1. In General Settings, set Login initiated by to Either Okta or App.
  2. Under Application visibility, make the app visible to users.
  3. Set Initiate login URI to https://<your-tenant>.getcollate.io/signin.
  4. Set Sign-in redirect URIs to https://<your-tenant>.getcollate.io/callback.
  5. Click Save.
To send users straight to the Okta sign-in page when they click the tile, without an extra click on the Collate sign-in page, ask Collate Support to enable auto-redirect on your instance.

SAML

Okta’s direct launch from the dashboard (IdP-initiated SAML) isn’t supported. Instead, create an Okta Bookmark App that points to https://<your-tenant>.getcollate.io/signin. Users click the bookmark tile to open the Collate sign-in page.

Provision Users and Groups

To provision users and groups automatically from Okta, follow the SCIM guide. For more information, see SCIM Provisioning. Assign the groups to the SCIM app in Okta. Pushing the groups isn’t enough.

Configuration Fields

This section lists the fields in the order they appear in the Collate SSO configuration form. Click Show Hint at the top of the form to display the field help beside the form.

Basic Configuration

Set the name that identifies this SSO configuration.

Client Configuration

Choose the client type and the sign-up behavior. When Client Type is Public, this card also shows Client ID and Callback URL. For more information, see Client-Specific Fields.

Authority

Enter the address of the provider’s authorization server.

Client-Specific Fields

The next fields depend on the Client Type you selected.

OIDC Configuration

Enter the OIDC client credentials and settings.
To use the Authorization Code flow with refresh tokens, add offline_access to Scope. Okta requires this scope to issue refresh tokens. Add groups if you need group information for authorization.
Select Show advanced credential settings to display four more fields.

Identity Configuration

Map claims from the identity token, a JSON Web Token (JWT), to Collate user identities and team assignments.
Incorrect Jwt Principal Claims lock out all users, including admins. The default values (email, preferred_username, sub) work for most Okta configurations. The claims must exist in the tokens that Okta issues. Change them only if you have custom claim requirements.
  • Jwt Principal Claims: At least one claim must correspond to the user’s email address. Order matters. Common Okta claims are email, preferred_username, sub, and login.
  • Jwt Principal Claims Mapping: Any key other than email or username, such as name or firstName, makes the service fail on startup with a validation error. The mapping is rarely needed. The display name is derived automatically from the standard OIDC claims. To include given_name and family_name, make sure Okta adds them to the ID token.
  • Jwt Team Claim Mapping: The team must already exist in Collate and must be of type Group. Team names are case-sensitive. Common Okta profile attributes are department, division, and organization. Add custom mappings in Okta > Directory > Profile Editor so the attribute is in the ID token. For group-based teams, use the groups claim, which requires group membership in the scope.

Advanced Configuration

Set the redirect, session, and sign-in behavior.

Admins

Grant admin access to specific users.

Domain Configuration

Restrict which email domains can sign in, and set the email domain for bots.

Connection Configuration

Control how Collate connects to the provider and uses its roles. When you turn on Use Roles from Provider:
  • Roles must be in the Okta token and must match existing Collate role names.
  • Roles sync on every login, so a role change in Okta takes effect the next time the user signs in.
  • If the token omits the roles claim, Collate treats it as no roles. A fresh sign-in then removes the roles and administrator access that the provider no longer grants.
  • Roles from the provider can promote a user to Admin, but a sign-in never demotes an admin assigned through Admin Emails or Admin Principals.

Deprecated

These fields are deprecated. Use the replacements in the table.

Default OAuth Role

The last Advanced Configuration card in the form has one field.

Troubleshooting

If users are automatically logged out and unable to log in again due to a bad authentication configuration, you can reset the security setup using the following command:
After executing the command, restart the server. The authentication values from your YAML or Helm chart will then be reapplied on startup. The following tiles detail how to apply this configuration:

Docker Security

Configure Auth0 SSO to access the UI and APIs.

Bare Metal Security

Configure Azure SSO to access the UI and APIs.

Kubernetes Security

Configure a custom OIDC SSO to access the UI and APIs.

Google SSO

Configure Google SSO to access the UI and APIs.

Okta SSO

Configure Okta SSO to access the UI and APIs.

Amazon Cognito SSO

Configure Amazon Cognito SSO to access the UI and APIs.

SAML

Configure SAML SSO to access the UI and APIs.

LDAP

Configure LDAP SSO to access the UI and APIs.