login.YOUR_DOMAIN.com
instead of YOUR_DOMAIN.auth0.com.
The custom domain in Auth0 is like a “mask” for your tenant domain URL.
You can configure your custom domain when you create your tenant or you can add a custom domain to an existing implementation with minor code and configuration changes.
login.YOUR_DOMAIN.com
to YOUR_DOMAIN.auth0.com
.
YOUR_DOMAIN.auth0.com
will continue to work. After the change, your users must log in again because existing sessions will no longer be valid. In addition, users may need to delete the browser cookie associated with your custom domain if errors are present during login. If you use embedded Lock or an SDK, you can choose to use the standard domain setting or a custom domain.
Feature or Flow | Details |
---|---|
Universal Login | For a seamless and secure user experience |
MFA | All factors |
Guardian | Android SDK/Swift SDK/MFA Widget version 1.3.3/Guardian.js version 1.3.0 or later |
Emails | Links included in the emails use your custom domain |
Connections | Database, social, Google Workspace, Azure AD, ADFS, AD/LDAP |
Version 11 with cross-origin authentication | |
With Universal Login (The email link sent using the custom domain if the option is enabled in Dashboard > Tenant Settings > Custom Domains.) | |
Connections and applications | |
WS-Federation | Auth0 as identity provider using WS-Fed add-on |
OAuth 2.0/OIDC-Compliant flows | Using the /authorize and /oauth/token endpoints |
iss
claim for the domain you used with the token request. For example:
If you obtain an for the using an with your custom domain, you must call the Management API using the custom domain or your token will be considered invalid. The token’s iss
claim is independent of the . Audience values remain the same for tokens obtained using a custom domain. To learn more about tokens, review Management API Access Tokens.
cname-api-key
) to validate. You must be an Auth0 Enterprise subscriber to use this option.
Auth0 provides instructions to configure a reverse proxy for the following providers: