> ## Documentation Index
> Fetch the complete documentation index at: https://openmetadata-add-ontology-explorer-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Auth0 SSO for Docker | 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.

<img src="https://mintcdn.com/openmetadata-add-ontology-explorer-docs/S4p0oEteoRXpo9ZE/public/images/deployment/security/auth0/create-new-app-1.png?fit=max&auto=format&n=S4p0oEteoRXpo9ZE&q=85&s=ea1136b38d74de73a8532c53f8ea56c5" alt="create-app" width="266" height="337" data-path="public/images/deployment/security/auth0/create-new-app-1.png" />

* Click on `Create Application`.

<img src="https://mintcdn.com/openmetadata-add-ontology-explorer-docs/S4p0oEteoRXpo9ZE/public/images/deployment/security/auth0/create-new-app-2.png?fit=max&auto=format&n=S4p0oEteoRXpo9ZE&q=85&s=6f09a29630d3e2c166379f478f8aca3b" alt="create-app" width="1048" height="239" data-path="public/images/deployment/security/auth0/create-new-app-2.png" />

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

<img src="https://mintcdn.com/openmetadata-add-ontology-explorer-docs/S4p0oEteoRXpo9ZE/public/images/deployment/security/auth0/auth-code-flow-1.png?fit=max&auto=format&n=S4p0oEteoRXpo9ZE&q=85&s=b1b3c5fe4bedae22463cc6ffc228171a" alt="create-app" width="1652" height="1534" data-path="public/images/deployment/security/auth0/auth-code-flow-1.png" />

### Step 2: Where to Find the Credentials

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

<img src="https://mintcdn.com/openmetadata-add-ontology-explorer-docs/S4p0oEteoRXpo9ZE/public/images/deployment/security/auth0/auth-code-flow-2.png?fit=max&auto=format&n=S4p0oEteoRXpo9ZE&q=85&s=b3da4cb911ce0efdf52beabc4693a666" alt="credentials" width="1608" height="1386" data-path="public/images/deployment/security/auth0/auth-code-flow-2.png" />

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

<CardGroup cols={3}>
  <Card title="Docker Security" href="/v2.0.x-SNAPSHOT/deployment/security/auth0/docker">
    Configure Auth0 SSO for your Docker Deployment.
  </Card>

  <Card title="Bare Metal Security" href="/v2.0.x-SNAPSHOT/deployment/security/auth0/bare-metal">
    Configure Auth0 SSO for your Bare Metal Deployment.
  </Card>

  <Card title="Kubernetes Security" href="/v2.0.x-SNAPSHOT/deployment/security/auth0/kubernetes">
    Configure Auth0 SSO for your Kubernetes Deployment.
  </Card>
</CardGroup>

<CardGroup cols={1}>
  <Card title="Auth" href="/v2.0.x-SNAPSHOT/deployment/security/auth0">
    Go to Auth0 Configuration
  </Card>
</CardGroup>
