Using reverse proxy for authentication

I’m trying to prevent authentication cookies through Auth0 from being considered third-party by the browser. To achieve this, I first set up a custom domain in Auth0, and it worked correctly. However, I encountered the limitation that only one custom domain can be defined.

In my current scenario, I need to authenticate from multiple domains within the same Auth0 tenant. I’m considering using a reverse proxy (such as Nginx or CloudFront). My question is whether I can do this without needing to use Auth0 custom domains, CNAME-api-key headers, etc., since I would need to define more than one custom domain, which is not possible.

In other words, is it possible to configure a reverse proxy for domain1.com and domain2.com and have both authenticate against tenant.auth0.com?

Thanks!

Hi @gpineda

Welcome to the Auth0 Community!

Thank you for posting your question. I’ve done some research regarding using a reverse proxy to set up two custom domains connected to the tenant, and it looks like it’s not possible to do that. However, for Q2 2025, our team is planning to release early access support for multiple custom domains per tenant.

Thanks
Dawid

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

Hi team! :wave:

This is a heads-up that we’re hosting an Ask Me Anything (AMA) session :loudspeaker: 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 :spiral_calendar_pad: to answer all your questions—from high-level strategy to specific technical implementation.

You can submit your questions from now until June 24 :pencil2:, and we’ll provide detailed written answers during the live event.

If you have any questions about managing multiple brands :office:, creating tailored login experiences :art:, or simplifying your architecture with a single tenant :gear:, feel free to drop them in this thread. We look forward to your questions and seeing you there!

June 25 Auth0 Community Ask Me Anything: Multiple Custom Domains