Auth0 now provides your own custom domain for login with a central authorization server.
Introducing Custom Domains (Preview) with Auth0
Authenticating with a provider through a central authorization server provides you with a standards-based, maintainable, and secure login approach. This type of login also provides single sign-on benefits and a modern user experience. You can explore the benefits of this architecture further in this blog post.
For those who are not familiar with the concept, you may have noticed that you are always redirected to accounts.google.com when you log into Google sites such as Gmail or Youtube. Google has a central authorization server that is used across all of their applications and third party apps.
Auth0 provides this same capability out of the box, allowing you to unify login for your own brand and products. Enabling a central authorization provider with Auth0 is easy and straightforward with simple configuration, and can be customized to suit your brand.
Some of the feedback we've heard from customers, however, is that they prefer this experience to be served from their own domain, instead of
[your-account].auth0.com. We are happy to announce that you can now configure your own custom domain in Auth0. This feature is available in beta release now for all paid customers (for tenants tagged as Development), with a full release coming in Q1. Adding your own custom domain does not require any code changes. Simple configuration can be completed within your Auth0 dashboard.
"We are happy to announce that you can now configure your own custom domain in Auth0. This feature is available in beta release now for all paid customers."
How It Works
Go to your account settings, select Custom Domains, add your own domain, and follow the instructions.
We have implemented two options for certificate management:
- Self Managed Certificates: TLS/SSL certificates are managed by you through a reverse proxy (such as AWS CloudFront). This option is available only for Enterprise customers and it allows you to manage your own TLS/SSL certificates through the proxy.
- Auth0 Managed Certificates: we will take care of the TLS/SSL certificate generation and renewal. This option is available for all paid customers.
Next, you must complete the verification process. In the case of self-managed certificates, you will need to create a TXT record. If you’re using Auth0-managed certificates, the verification process is done via a CNAME record.
If you are using self-managed certificates, once you complete the verification process, you will be assigned an origin domain and a unique
cname-api-key header value. Both of these will have to be configured with your reverse proxy (such as CloudFront). If you chose Auth0-managed certificates, no further action is necessary—your domain is ready to use!
Once configured, you can migrate your apps to use your own custom domain.
Note: Your existing integrations using your
[your-account].auth0.comdomain will continue to work. Keep in mind that when you migrate applications to your custom domain, users will have to log in again since existing sessions will no longer be valid.
Using Custom Domains with Auth0
With the launch of custom domains with Auth0, your users will benefit from a first-class login experience, while keeping your brand through a trustworthy domain.
"With the launch of custom domains with Auth0, your users will benefit from a first-class login experience, while keeping your brand through a trustworthy domain."
For more information, check out our Custom Domains documentation here.