Overview
Custom OIDC authentication enables integration with any OpenID Connect (OIDC) compliant identity provider such as Keycloak, Authentik, PingIdentity, or other enterprise identity solutions. Collate supports Single Sign-On (SSO) integration with various identity providers, enabling secure, centralized user authentication.Configure Custom OIDC SSO
Complete the following steps to configure Custom OIDC SSO.-
Click the Profile icon and navigate to Settings > Single Sign-On.

-
Click Custom OIDC. The Custom OIDC configuration page opens.

-
Enter the configuration details. For more information, see Configuration Fields.

- Click Test Login and complete the sign-in. For more information, see Test Login.
- Click Save to finish the SSO configuration.
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. The Custom OIDC form has no Client Type option. It always shows the OIDC client settings.Basic Configuration
Set the name that identifies this SSO configuration.Client Configuration
Control whether new users can sign up through SSO.Authority
Enter the address of the provider’s authorization server.Security Configuration
Set how Collate verifies the signatures of the provider’s tokens.OIDC Configuration
Configure the OIDC client credentials, discovery endpoint, and token behavior.
For Scope:
openidis required for OIDC.profilegives access to user profile information.emailgives access to the user’s email address.groupsgives access to group memberships, if your provider supports it.offline_accessis needed for a confidential client so the provider issues a refresh token (Okta, Microsoft Entra ID, Auth0). Google issues a refresh token only when the user sees its consent screen. Without a refresh token, the user signs in again each time the ID token expires.
login: always prompt for credentials.consent: prompt for permissions.select_account: show the account picker.none: silent authentication, which can fail if the user isn’t signed in.
- When on, Collate renews the provider’s tokens on the provider’s schedule while the user is active, and signs the user out when the provider rejects the refresh token. A renewal never extends the session beyond the configured session expiry.
- When off, a session lasts for the configured session expiry.
- The sign-out depends on the provider. Keycloak revokes refresh tokens together with the provider session, and Microsoft Entra ID doesn’t.
Identity Configuration
Map claims from the identity token, a JSON Web Token (JWT), to Collate user identities and team assignments.- Jwt Principal Claims: At least one claim must correspond to the user’s email address. Order matters.
- Jwt Principal Claims Mapping: Any key other than
emailorusername, such asnameorfirstName, 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. - Jwt Team Claim Mapping: The team must already exist in Collate and must be of type Group. Team names are case-sensitive.
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 provider’s token and must match existing Collate role names.
- Roles sync on every login, so a role change at the provider 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.Registration and Default Role
The last Advanced Configuration card in the form has two fields.Common OIDC Provider Examples
Sample configurations for popular OIDC-compliant identity providers. KeycloakHow Confidential Clients Sign In
With a confidential client, Collate passes the identity provider’s ID token to the browser and renews it by redeeming the provider’s refresh token. The identity provider, not Collate, sets the token lifetime. Because the browser holds the provider’s ID token, the claims you map in Jwt Principal Claims Mapping, or the Email Claim, such asupn, must be present in the ID token the provider issues.
Token Validation
A token signed by the identity provider must name one of your configured clients in its audience, or Collate rejects the request with401. For confidential clients, the token’s issuer must also match the issuer in the provider’s discovery document. Tokens signed by Collate itself, such as bot tokens and personal access tokens, are not subject to these checks.
Session Renewal
- Ended session: Collate returns
401and ends the session if the provider issued no refresh token, rejects the refresh token (invalid_grantorinvalid_token), or returns no ID token that lasts more than 60 seconds. The browser then tries to sign the user in again at the identity provider without prompting, and shows the sign-in page if that does not succeed. - No answer from the provider: Collate returns
503and keeps the session. The browser may still sign the user out. - Session limit: The configured session expiry still caps the session. A renewal never extends it. Logging out or revoking a session ends it at once, but the ID token already issued stays valid until it expires, and the next renewal fails.
Display Name and Picture
On sign-in with a confidential OIDC client, Collate fills the display name from the provider (name, or first and last name) when the user’s display name is empty or only repeats the login name. A display name set in Collate is kept. If you set Email Claim, the provider’s name replaces the stored display name on every sign-in.
Collate also stores the picture from the standard picture claim when it is an absolute http or https URL. A new picture replaces all stored sizes. A token without a valid picture never clears the stored picture.
MCP Sign-In and Self Sign-Up
Model Context Protocol (MCP) sign-in reads the claims mapping like web sign-in, including claim names that contain a colon. It does not read Email Claim. Opening/signup directly, without a pending self-sign-up user, redirects to the sign-in page.
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: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.