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

# Auth0 auth code flow | Collate 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/collatedocs/cOe_QuHYxAbkMtTI/public/images/deployment/security/auth0/create-new-app-1.png?fit=max\&auto=format\&n=cOe_QuHYxAbkMtTI\&q=85\&s=b327d593f7916fb6dd8bccdffdf58aa1)

* Click on `Create Application`.

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

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

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

### 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/collatedocs/cOe_QuHYxAbkMtTI/public/images/deployment/security/auth0/auth-code-flow-2.png?fit=max\&auto=format\&n=cOe_QuHYxAbkMtTI\&q=85\&s=fb118a08d65227ef4a13235ccaaa44fa)

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

> [card] [Docker Security](https://docs.getcollate.io/deployment/security/auth0/docker)
>
> Configure Auth0 SSO for your Docker Deployment.

> [card] [Bare Metal Security](https://docs.getcollate.io/deployment/security/auth0/bare-metal)
>
> Configure Auth0 SSO for your Bare Metal Deployment.

> [card] [Kubernetes Security](https://docs.getcollate.io/deployment/security/auth0/kubernetes)
>
> Configure Auth0 SSO for your Kubernetes Deployment.

> [card] [Auth](https://docs.getcollate.io/deployment/security/auth0)
>
> Go to Auth0 Configuration


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