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

# Auth0 Authentication

<Tip>
  Keep Cloud: ✅ <br />
  Keep Enterprise On-Premises: ✅ <br />
  Keep Open Source: ⛔️
</Tip>

Keep supports multi-tenant environments through Auth0, enabling separate tenants to operate independently within the same Keep platform.

<Frame>
  <img src="https://mintcdn.com/keep-docs/SMI4wgz6Tw4qDsiL/images/auth0auth.png?fit=max&auto=format&n=SMI4wgz6Tw4qDsiL&q=85&s=1921115740bba7ffd583da3850f4e25d" width="500" data-path="images/auth0auth.png" />
</Frame>

### When to Use

* **Already using Auth0:** If you are already using Auth0 in your organization, you can leverage it as Keep authentication provider.
* **SSO/SAML:** Auth0 supports various Single Sign-On (SSO) and SAML protocols, allowing you to integrate Keep with your existing identity management systems.

### Setup Instructions

To start Keep with Auth0 authentication, set the following environment variables:

#### Frontend Environment Variables

| Environment Variable | Description | Required | Default Value |
| - | - | :-: | :-: |
| AUTH\_TYPE | Set to 'AUTH0' for Auth0 authentication | Yes | - |
| AUTH0\_DOMAIN | Your Auth0 domain | Yes | - |
| AUTH0\_CLIENT\_ID | Your Auth0 client ID | Yes | - |
| AUTH0\_CLIENT\_SECRET | Your Auth0 client secret | Yes | - |
| AUTH0\_ISSUER | Your Auth0 API issuer | Yes | - |

#### Backend Environment Variables

| Environment Variable | Description | Required | Default Value |
| - | - | :-: | :-: |
| AUTH\_TYPE | Set to 'AUTH0' for Auth0 authentication | Yes | - |
| AUTH0\_MANAGEMENT\_DOMAIN | Your Auth0 management domain | Yes | - |
| AUTH0\_CLIENT\_ID | Your Auth0 client ID | Yes | - |
| AUTH0\_CLIENT\_SECRET | Your Auth0 client secret | Yes | - |
| AUTH0\_AUDIENCE | Your Auth0 API audience | Yes | - |

### Example configuration

Use the `docker-compose-with-auth0.yml` for an easy setup, which includes necessary environment variables for enabling Auth0 authentication.


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