Skip to main content

Overview

SAML (Security Assertion Markup Language) SSO enables users to authenticate with enterprise identity providers such as ADFS, Shibboleth, or Okta. This setup allows secure, federated login to Collate through SAML assertions. Collate supports Single Sign-On (SSO) integration with various identity providers, enabling secure, centralized user authentication.

Configure SAML SSO

Complete the following steps to configure SAML SSO.
  1. Click the Profile icon and navigate to Settings > Single Sign-On. Single Sign-On page with the Choose Provider list
  2. Click SAML. The SAML configuration page opens. Select SAML from the Choose Provider list
  3. Enter the configuration details. For more information, see Configuration Fields. SAML 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.
When Send Signed Auth Request is enabled, configuration validation signs its request with the configured SP private key. If the identity provider rejects the request, Collate displays the rejection reason so you can correct the certificate, signing, or provider configuration.

Setup Workflow

To configure SAML authentication, follow these steps:
  1. Get the Collate Service Provider details from the Service Provider (SP) section of the form:
    • SP Entity ID: Defaults to your Collate URL.
    • Assertion Consumer Service URL: Defaults to {your-domain}/callback.
  2. Configure your identity provider:
    1. Create a new SAML application in your IdP (ADFS, Okta, Azure AD, and so on).
    2. Copy the SP Entity ID and enter it as the Entity ID or Application ID in your IdP.
    3. Copy the Assertion Consumer Service URL and enter it as the Reply URL, Callback URL, or Consumer URL in your IdP.
    4. Configure the user attribute and claim mappings in your IdP.
  3. Get the following details from your IdP:
    • IdP Entity ID.
    • IdP SSO Login URL.
    • IdP X.509 Certificate.
  4. Enter the IdP details in Collate, run Test Login, and then click Save.
If the values differ from the defaults, change SP Entity ID and Assertion Consumer Service URL in Collate to match what you registered in your IdP. The values must match exactly, or SAML sign-in fails.

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. At the top of the form, an upload area accepts your IdP’s SAML metadata XML file. Click Click to upload or drag and drop the file. Collate parses it and fills in the IdP Entity ID, IdP SSO Login URL, and IdP X.509 Certificate fields.

Basic Configuration

Set the name that identifies this SSO configuration.

Client Configuration

Control whether new users can sign up through SSO.

SAML Configuration

The SAML Configuration card groups the fields in three sections: Identity Provider (IdP), Service Provider (SP), and Security Configuration.

Identity Provider (IdP)

Enter the details from your identity provider to establish the SAML trust relationship. For IdP X.509 Certificate:
  • Saving requires at least one currently valid certificate. Collate refuses a new or changed certificate unless it is standard PEM text and at least one certificate in it is currently valid. Expired or not-yet-valid certificates don’t count while another certificate is currently valid, which allows a rollover. An unchanged certificate that has since expired isn’t refused.
  • At runtime, Collate trusts every configured IdP certificate, including expired and future rollover ones. The server starts even when a saved certificate has expired. Collate doesn’t drop retired certificates on its own, so remove a certificate you no longer trust.
Repeated attributes: If the IdP sends the same attribute more than once, Collate merges the values into a single attribute. For example, Keycloak sends one Role attribute for each role of a user, and Collate accepts these assertions.

Service Provider (SP)

These fields identify Collate to your identity provider. Register them in your IdP’s SAML application.

Security Configuration

Control signing and encryption for SAML requests and assertions. Select Show advanced credential settings to display one more field. The card ends with two more fields.

Identity Configuration

Tell Collate which SAML attributes hold the user’s email and display name.

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

This card has one deprecated setting.

Deprecated

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

Default OAuth Role

The last Advanced Configuration card in the form has the following 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.