Both are connected to a single Auth0 Application. The websites use the PHP framework to handle authentication and integration with the Auth0 tenant. My issue is that logging in on website.de/login is successful and redirects correctly. Logging in from website.us/login fails (or appears to) and redirects to website.de/callback.
How can I connect the two domains so that they recognise a user? Signing in on website.de should authenticate you for website.us and vice-versa. These two domains for the website are used to display branch-specific content on the same underlying website (shared PHP files).
I can provide .env, callback.php, login.php, and logout.php with critical data removed as needed.
Thank you for posting your question. If you are able, can you share with me both requests that your application makes during login? Specifically, I would need the redurect_uri parameter as it is used as a callback URL. I’ve checked your tenant settings, and as you said in your question, both URLs are present in the Allowed Callback URLs section of your application.