> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Auth0 SSO Auth Code Flow | OpenMetadata Deployment Guide

> Implement Auth0 Authorization Code Flow to manage user authentication securely with backend service token exchange and login session tracking.

# Auth Code Flow

### Step 1: Create a New Application

* Once you are on the Dashboard page, click on `Applications > Applications` available on the left-hand side panel.

![create-app](https://mintcdn.com/openmetadata/yyGpv3oOyfUEUy0M/public/images/deployment/security/auth0/create-new-app-1.png?fit=max\&auto=format\&n=yyGpv3oOyfUEUy0M\&q=85\&s=34f1a567ca00c6e1363b3b8cc067f27d)

* Click on `Create Application`.

![create-app](https://mintcdn.com/openmetadata/yyGpv3oOyfUEUy0M/public/images/deployment/security/auth0/create-new-app-2.png?fit=max\&auto=format\&n=yyGpv3oOyfUEUy0M\&q=85\&s=516bd04ea2320c40376ff1dbda0e25bc)

* Enter the Application name.
* Choose an application type and click on `Create`.

![create-app](https://mintcdn.com/openmetadata/BD_VpubLZxqEpcO8/public/images/deployment/security/auth0/auth-code-flow-1.png?fit=max\&auto=format\&n=BD_VpubLZxqEpcO8\&q=85\&s=c3dfcff683c17ad0a3a4fa5b4f2e3346)

### Step 2: Where to Find the Credentials

* Navigate to the Settings tab.
* You will find your `Client ID` and `Client Secret`.

![credentials](https://mintcdn.com/openmetadata/BD_VpubLZxqEpcO8/public/images/deployment/security/auth0/auth-code-flow-2.png?fit=max\&auto=format\&n=BD_VpubLZxqEpcO8\&q=85\&s=72eb5ef2556337574e4c60c2993e981c)

After the applying these steps, you can update the configuration of your deployment:

> [card] [Docker Security](https://docs.open-metadata.org/v2.1.x/deployment/security/auth0/docker)
>
> Configure Auth0 SSO for your Docker Deployment.

> [card] [Bare Metal Security](https://docs.open-metadata.org/v2.1.x/deployment/security/auth0/bare-metal)
>
> Configure Auth0 SSO for your Bare Metal Deployment.

> [card] [Kubernetes Security](https://docs.open-metadata.org/v2.1.x/deployment/security/auth0/kubernetes)
>
> Configure Auth0 SSO for your Kubernetes Deployment.

> [card] [Auth](https://docs.open-metadata.org/v2.1.x/deployment/security/auth0.md)
>
> Go to Auth0 Configuration


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.