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!