Overview
AWS Cognito SSO enables users to log in using credentials from an AWS Cognito User Pool through OAuth 2.0 and OpenID Connect (OIDC). Collate supports two client types for AWS Cognito:- Confidential: For web applications and backend services that can securely store a client secret. Use it for secure backend authentication with a client ID and client secret.
- Public: For applications that can’t store a client secret.
Configure AWS Cognito SSO
Complete the following steps to configure AWS Cognito SSO.-
Click the Profile icon and navigate to Settings > Single Sign-On.

-
Click AWS-Cognito. The AWS Cognito 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.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.- Confidential
- Public
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. Common AWS Cognito claims are
cognito:username,email,sub, andpreferred_username. - 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. To includegiven_nameandfamily_name, make sure your Cognito User Pool 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. Custom attributes must have the
custom:prefix, for examplecustom:department. For group-based teams, usecognito:groups, which requires User Pool groups.
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 AWS Cognito token and must match existing Collate role names.
- Roles sync on every login, so a role change in AWS Cognito 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: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.