Skip to main content

Overview

Azure Active Directory (Azure AD) Single Sign-On (SSO) allows users to log in securely using their Microsoft 365 / Entra ID accounts via OAuth 2.0 and OpenID Connect (OIDC). Collate supports two client types for Azure AD:
  • Confidential: For web applications and backend services that can securely store a client secret. Azure AD 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 Azure AD SSO

Complete the following steps to configure Azure AD SSO.
  1. Click the Profile icon and navigate to Settings > Single Sign-On. Single Sign-On page with the Choose Provider list
  2. Click Azure AD. The Azure AD configuration page opens. Select Azure AD from the Choose Provider list
  3. Enter the configuration details. For more information, see Configuration Fields. Azure AD 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.

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 Model Context Protocol (MCP) OAuth, add offline_access to Scope. Microsoft Entra ID returns refresh tokens only when the request includes the offline_access scope.
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 (preferred_username, email, upn, sub) work for most Azure AD configurations. The claims must exist in the tokens that Azure AD 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 Azure AD claims are email, preferred_username, upn, and sub.
  • 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 Azure AD 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 Azure AD attributes are department, jobTitle, companyName, and officeLocation. To use the groups claim, configure group membership claims in Azure AD > App registrations > Token configuration.

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 Azure AD token and must match existing Collate role names.
  • Roles sync on every login, so a role change in Azure AD 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.