2024-06-18 15:53:06 +02:00
---
title: Auth0 SSO
slug: /deployment/security/auth0
2024-09-05 10:30:31 +02:00
collate: false
2024-06-18 15:53:06 +02:00
---
# Auth0 SSO
Follow the sections in this guide to set up Auth0 SSO.
{%important%}
Security requirements for your **production** environment:
- **DELETE** the admin default account shipped by OM in case you had [Basic Authentication ](/deployment/security/basic-auth )
enabled before configuring the authentication with Auth0 SSO.
- **UPDATE** the Private / Public keys used for the [JWT Tokens ](/deployment/security/enable-jwt-tokens ). The keys we provide
by default are aimed only for quickstart and testing purposes. They should NEVER be used in a production installation.
{%/important%}
## Create Server Credentials
### Step 1: Create the Account
- If you don't have an account, [Sign up ](https://auth0.com/signup ) to create one.
- Select the Account Type, i.e., Company or Personal
- Click I need advanced settings and click next.
{% image
2024-12-04 11:44:41 +01:00
src="/images/v1.6/deployment/security/auth0/create-account-1.png"
2024-06-18 15:53:06 +02:00
alt="create-account" /%}
- Provide the Tenant Domain, select the region and click on Create Account.
{% image
2024-12-04 11:44:41 +01:00
src="/images/v1.6/deployment/security/auth0/create-account-2.png"
2024-06-18 15:53:06 +02:00
alt="create-account" /%}
- Once done, you will land on the dashboard page.
{% image
2024-12-04 11:44:41 +01:00
src="/images/v1.6/deployment/security/auth0/create-account-3.png"
2024-06-18 15:53:06 +02:00
alt="create-account" /%}
2024-12-18 15:03:29 +05:30
## Step 2: Create Server Credentials
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
## Choose Your Authentication Flow
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
After creating the account, choose the authentication flow you want to use:
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
- [Implicit Flow ](/deployment/security/auth0/implicit-flow ) (Public)
- [Auth Code Flow ](/deployment/security/auth0/auth-code-flow ) (Confidential)
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
{% note %}
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
- **SPA (Single Page Application):**
This type is designed for implicit flows. In this case, providing both the client ID and client secret will result in a failure because the implicit flow only requires the client ID for authentication.
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
- **Web:**
This type is intended for confidential clients. If you select this option, you must provide both the client ID and client secret. Simply passing the client ID will cause the authorization process to fail, as the Authorization Code flow requires both credentials for successful authentication.
The [OIDC Authorization Code Flow ](/deployment/security/oidc ) is used in this case, where the client secret is required to securely exchange the authorization code for tokens.
2024-06-18 15:53:06 +02:00
2024-12-18 15:03:29 +05:30
### Recommendation:
- Use the **Web** type for confidential clients that require both a client ID and secret.
- Use the **SPA** type for applications using implicit flows where only a client ID is needed.
{% /note %}
2024-06-18 15:53:06 +02:00
2024-12-04 11:44:41 +01:00
{% partial file="/v1.6/deployment/configure-ingestion.md" /%}