Skip to main content

Integrate with Auth0

Support level: Community

What is Auth0?

Auth0 is an identity platform that provides authentication and authorization services for applications. It can delegate authentication to external identity providers via enterprise connections.

-- https://auth0.com

Preparation

The following placeholders are used in this guide:

  • authentik.company is the FQDN of the authentik installation.
  • company.auth0.com is the domain of your Auth0 tenant.
info

This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.

Auth0 can delegate authentication to authentik using either SAML or OpenID Connect (OIDC). Choose one protocol and follow the matching tab throughout this guide.

authentik configuration

To support the integration of Auth0 with authentik, you need to create an application/provider pair in authentik.

Create an application and provider

Redirect URI changes in authentik 2026.5

In authentik versions earlier than 2026.5, all Redirect URIs are automatically treated as Authorization type. If you are using one of these older authentik versions, add only the Authorization URL to your Redirect URIs and do not configure a Post Logout URI.

  1. Log in to authentik as an administrator and open the authentik Admin interface.

  2. Navigate to Applications > Applications and click New Application to open the application wizard.

    • Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings. Note the Slug value because you will use it when configuring Auth0.
    • Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
    • Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
      • Note the Client ID and Client Secret values because you will use them when configuring Auth0.
      • Add a Redirect URI of type Strict Authorization as https://company.auth0.com/login/callback.
      • Set Logout URI to https://company.auth0.com/logout.
      • Set Logout Method to Front-channel.
      • Select an RSA Signing Key.
    • Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's Application Dashboard page.
  3. Click Submit to save the new application and provider.

Auth0 configuration

To integrate authentik with Auth0, create an OpenID Connect enterprise connection in the Auth0 Dashboard.

  1. Log in to the Auth0 Dashboard as an administrator.
  2. Navigate to Authentication > Enterprise, find Open ID Connect, and click the Create button.
  3. Configure the following settings:
    • Purpose: select Authentication.
    • Connection name: enter a name, such as authentik. This value cannot be changed later.
    • OpenID Connect Discovery URL: https://authentik.company/application/o/<application_slug>/.well-known/openid-configuration
    • Client ID: enter the Client ID from authentik.
    • Communication Channel: select Back Channel.
    • Client Secret: enter the Client Secret from authentik.
  4. Click Create.
  5. Navigate to the connection's Applications tab and enable the connection for each application that should allow logging in with authentik.

Configuration verification

To confirm that authentik is properly configured with Auth0, open the Auth0 Dashboard and navigate to Authentication > Enterprise. Open SAML or Open ID Connect, then select the Try arrow next to the connection. The connection must be enabled for at least one application, or Auth0 returns a the connection is not enabled error. Auth0 redirects you to authentik to authenticate, then displays an It works! page with the user profile that it received.

Resources