Skip to content
Last updated

Auth0 integration

Auth0 is an identity and access management platform that provides authentication, user management, and authorization services. Integrating Auth0 with Frontegg allows your application to manage users, organizations, roles, and logs on behalf of your users using OAuth 2.0.


Prerequisites

Connect Auth0

Step 1: Open the Auth0 dashboard

Sign in to your Auth0 account and navigate to the Auth0 dashboard. The dashboard URL follows the format https://manage.auth0.com/dashboard/{region}/{yourTenantName}/.

Auth0 dashboard home

Step 2: Open the Applications page

In the left navigation, click ApplicationsApplications. The Applications page lists all app integrations registered in your Auth0 tenant.

Click Create Application to start the wizard.

Auth0 Applications page with Create Application highlighted

Step 3: Create a new application

In the Create application dialog:

  1. Enter a descriptive name in the Name field, for example Frontegg Integration.
  2. Under Choose an application type, select Regular Web Application.

Click Create.

Create application dialog with name and Regular Web Application selected

Step 4: View the application overview

After clicking Create, Auth0 redirects you to the Quickstart page for your new application. This confirms the application was created successfully.

Click the Settings tab to continue configuration.

Frontegg Integration application Quickstart page

Step 5: Configure allowed callback URLs

On the Settings tab, scroll down to the Application URIs section.

In the Allowed Callback URLs field, enter the following URL:

  • https://YOUR_MCP_GATEWAY_URL/integration-callback

Scroll to the bottom of the page and click Save.

Settings tab with Allowed Callback URLs filled in

Step 6: Copy your credentials

Click the Credentials tab. This page shows your application's Client Secret and authentication method.

  • Client ID — Visible in the page header under the application name.
  • Client Secret — Click Reveal Client Secret to display it, then use the Copy icon to copy it to your clipboard.

Copy your Client Secret now

The Client Secret is masked by default. Use the Reveal Client Secret button to display it, then copy it immediately and store it in a secure location.

Your Auth0 domain

Your Auth0 domain is also visible on the Settings tab in the Domain field, for example your-tenant.us.auth0.com. You will need this when configuring the Frontegg portal.

Credentials tab showing Client Secret reveal and copy buttons

Configure the Frontegg portal

Once you have obtained your Client ID, Client Secret, and Auth0 domain, configure the integration in the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Auth0.
  2. Enter your Auth0 domain — the hostname of your Auth0 tenant. For example, if your dashboard URL is https://manage.auth0.com/dashboard/us/my-tenant, your domain is my-tenant.us.auth0.com.
  3. Enter the Client ID and Client Secret in the corresponding fields.
  4. Select the required scopes:
ScopeDescription
openidRequired for OpenID Connect authentication
profileAccess user profile information
emailAccess user email address
offline_accessObtain refresh tokens for long-lived access
read:usersRead user information
update:usersUpdate user information
delete:usersDelete users
create:usersCreate users
read:user_idp_tokensRead user identity provider tokens
read:organizationsRead organization information
update:organizationsUpdate organization information
create:organizationsCreate organizations
delete:organizationsDelete organizations
read:organization_membersRead organization members
manage:organization_membersManage organization members
read:rolesRead roles
create:rolesCreate roles
update:rolesUpdate roles
delete:rolesDelete roles
read:logsRead log events
read:clientsRead client (application) information
update:clientsUpdate client (application) information
  1. Click Save.

Keep your credentials secure

Never share or commit your Client Secret to version control.

Additional resources