# Use Auth0 with Limio for Customers

Please take a look at [Set up Authentication for Customers](/product/authentication/sso-your-authentication.md) to understand how Limio works with Auth0. This page is intended as a quick guide to help you setup Auth0 with Limio.

> **Looking for passwordless authentication?** If you want to use magic link (passwordless) login with Auth0, see [Use Auth0 Passwordless (Magic Link) with Limio](/product/authentication/sso-your-authentication/use-auth0-passwordless-with-limio.md).

<figure><img src="/files/YkVhd3ZyhVkuneb6pVxy" alt=""><figcaption></figcaption></figure>

### Auth0 Configuration

In Auth0, you will need to add on your Application > Settings to add the following:

**Application Login URI:**

`https://{limio-tenant}-shop.prod.limio.com/api/sf`

**Allowed callback URI:**

`https://{limio-tenant}-shop.prod.limio.com/api/sf`

**Allowed Logout URLs:**

`https://{limio-tenant}-shop.prod.limio.com/api/sf/logout`

<figure><img src="/files/Fy6Tnv2hAdfhGavY9bCG" alt=""><figcaption></figcaption></figure>

The full information on how to setup Limio as an Application is defined on Auth0's support portal: <https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/oidc#steps>.

### Limio Configuration

Go to Settings > Authentication > OpenID Connect and provide the following:

<figure><img src="/files/MNxTolq7HHh7pQfmSDcB" alt=""><figcaption></figcaption></figure>

**Provider Name**\
An arbitrary name that helps you to recognise the authentication mechanism, e.g., `auth0-test-dev-shop.prod.limio.com`.

**Issuer Name**\
The Issuer URL from Auth0, which typically looks like: `https://{auth0-tenant}.auth0.com/` (⚠️ it is important to include https\:// and the final /)

**Client ID**\
This is the Client ID generated in the Auth0 Management Portal for Limio.

**Client Secret**\
This is the Client Secret associated with the Client ID in the Auth0 Management Portal.

**JWKS URI**\
The JWKS URI for Auth0, which provides the JSON Web Key Set for token verification: `https://{auth0-tenant}.auth0.com/.well-known/jwks.json`

**Authorization Endpoint**\
The Authorisation Endpoint provided by Auth0, e.g.: `https://{auth0-tenant}.auth0.com/authorize`

**Token Endpoint**\
The Token Endpoint from Auth0, e.g.: `https://{auth0-tenant}.auth0.com/oauth/token`

**Logout Endpoint**\
The Logout Endpoint for Auth0, e.g.: `https://{auth0-tenant}.auth0.com/v2/logout`

**Token Endpoint Type**\
This is typically set to `Basic`.

**Scope**\
Define the necessary scopes required for your application, such as `openid profile email`, within the Auth0 Management Portal.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.limio.com/product/authentication/sso-your-authentication/use-auth0-with-limio-for-customers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
