For the complete documentation index, see llms.txt. This page is also available as Markdown.

Auth0 (SAML / OIDC)

Configure SSO with Auth0 using SAML or OIDC protocols.

This guide explains how to configure SSO integration between Organizations and Auth0. After configuring Auth0, return to the Organizations SSO Configuration Guide to complete the setup.

Before you begin: Open Authentication → SSO in Organizations and copy the Entity ID and ACS URL (SAML) or Redirect URI (OIDC) as described in Step 2 of the SSO Configuration Guide.


Prerequisites

  • Administrator access to Auth0

  • Super Admin access to Organizations


Choose the Protocol

SAML Configuration

Create Application in Auth0

  1. Access the Auth0 Dashboard

  2. Navigate to Applications → Applications

  3. Click Create Application

Auth0 - Create Application
  1. Configure the Name (e.g., "Certta")

  2. Select Regular Web Applications and click Create

Auth0 - Select application type

Enable SAML

  1. In the created application, access the Addons tab

  2. Locate SAML2 Web App and click to enable

  3. Click on SAML2 Web App after enabling

Auth0 - Addons SAML
  1. In the Settings tab, in the Application Callback URL field, paste the ACS URL from Organizations

Auth0 - SAML Settings JSON
  1. In the JSON editor, set the audience to the Organizations Entity ID and configure attribute mappings:

  1. Scroll to the end of the Settings tab and click Save

Configure groups for SAML (optional)

To use Group assignment rules in Organizations, add a groups entry to the mappings object in the SAML2 Web App JSON. The source value depends on how groups are exposed in your Auth0 tenant (for example, directory groups from an Enterprise Connection).

On the Attribute mapping tab in Organizations, set Groups to groups.

Get Metadata URL

  1. Access the Usage tab

  2. Locate the Identity Provider Login URL

  3. Build the Metadata URL by adding /metadata before the client ID:

Field
Format

Identity Provider Login URL

https://{your-domain}/samlp/{client-id}

Metadata URL

https://{your-domain}/samlp/metadata/{client-id}

Example: If the Identity Provider Login URL is https://dev-abc123.us.auth0.com/samlp/xyz789, the Metadata URL will be https://dev-abc123.us.auth0.com/samlp/metadata/xyz789.

Auth0 - SAML Metadata URL

OIDC Configuration

Create Application in Auth0

  1. Access the Auth0 Dashboard

  2. Navigate to Applications → Applications

  3. Click Create Application

  4. Configure the Name (for example, Certta)

  5. Select Regular Web Applications and click Create

Auth0 - Create Application
Auth0 - Select application type

Configure Application Settings

In the application's Settings tab, configure:

Auth0 Field
Value

Allowed Callback URLs

Paste the Redirect URI copied from Organizations

Auth0 - Application Settings

Click Save.

Get Credentials

In the same Settings tab, copy the following information:

Auth0 Field
Use in Organizations as

Domain

Use to build the Issuer URL

Client ID

Client ID

Client Secret

Client Secret

Auth0 - Client Credentials

Get Issuer URL

The Auth0 Issuer URL follows the format:

Configure groups for OIDC (optional)

To use Group assignment rules based on IdP groups:

  1. Navigate to Actions → Library → Build Custom

  2. Create a Post Login Action that adds a groups claim to the ID token (source depends on your Auth0 roles, Authorization Groups, or upstream IdP attributes)

  3. Deploy the Action and add it to the Login flow for this application

  4. In Organizations, add groups to Authorization scopes on the SSO tab and map Groups on the Attribute mapping tab to groups

See Auth0 Actions documentation for claim customization patterns.


Enable Connections and Users

In Auth0, user access to the application is controlled by enabled Connections. A Connection is the source of user identity (internal database, social login, corporate directory, etc.).

Enable Connections in the Application

  1. In the created application, access the Connections tab

  2. Enable the connections where your users are registered

Auth0 - Connections
Connection Type
Description

Database

Users registered directly in Auth0 (e.g., Username-Password-Authentication)

Social

Login via social providers (Google, Microsoft, etc.)

Enterprise

Corporate connections (SAML, OIDC, Azure AD, etc.)


Next Steps

After configuring the identity provider, return to the Organizations SSO Configuration Guide to:


Troubleshooting

Problem
Probable Cause
Solution

Callback URL error

URL does not match

Verify Allowed Callback URLs (OIDC) or Application Callback URL (SAML) matches Organizations

Invalid token

Incorrect Client Secret

Regenerate the Client Secret in Auth0 and update it in Organizations

Groups not received

Groups claim not configured

Add groups to SAML mappings or configure a Post Login Action for OIDC

Invalid SAML assertion

Incorrect audience

Verify that the audience in the addon JSON matches the Organizations Entity ID

User not found

Connection not enabled

Check the enabled connections in the Connections tab


References

Last updated