I’m using Auth0 for authentication in my MERN SaaS app that supports a white-label feature. Here’s how my setup works:
Users provide custom domains and add a CNAME record pointing to our dashboard (e.g., app.customer.com → app.mydomain.com).
In my Auth0 Application settings, I have added these domains under Allowed Callback URLs, Logout URLs, and Web Origins.
I have configured a custom domain (login.mydomain.com) in Auth0 and am not using the default Auth0 subdomain (dev-xxxx.us.auth0.com).
Issue:
When users log in from their custom domains (app.customer.com), they are redirected to login.mydomain.com instead of seeing a login page under their own domain. Ideally, I want users to see something else instead of login.mydomain.com, preferably their own custom domain (login.customer.com).
Questions:
Is there a way to dynamically show a login page on each user’s custom domain (login.customer.com) instead of login.mydomain.com?
Can Auth0 support multiple custom login domains in a single tenant, or is there an alternative approach?
Would Embedded Login using Auth0 SDK be a better solution to keep users on their domain? If so why it asks to configure a custom domain?
I’d appreciate any insights or best practices on how to handle this. Thanks!
Unfortunately, there is no out-of-the-box solution regarding implementing a White-Label-Authentication for your users using Auth0 since that level of branding is tenant-wide. That means you would need a multi-tenant environment to handle such a feature. As far as I am concerned, in order for you to accomplish this use case, you would need to be under an Enterprise plan since an Essentials or Professional plan are quite limited. Otherwise, you would need to come up with your own implementation in order to achieve this however you might reach certain limitations or problems.
If you want to know more about a multi-tenant approach, I would advise you to review this community post regarding the matter: Whitelabel within multi tenancy
This is a heads-up that we’re hosting an Ask Me Anything (AMA) session on our new Multiple Custom Domains (MCD) capability. Our Platform Infrastructure Product Manager, Pawan Bhardwaj, will be live on June 25, 2025, from 9 AM to 11 AM PST to answer all your questions—from high-level strategy to specific technical implementation.
You can submit your questions from now until June 24, and we’ll provide detailed written answers during the live event.
If you have any questions about managing multiple brands , creating tailored login experiences , or simplifying your architecture with a single tenant , feel free to drop them in this thread. We look forward to your questions and seeing you there!