Hi all, I am looking for some help.
I use Auth0 for my login in a next js app. I have my custom domain with vercel, the vercel.app address and local host setup as callbacks:
customdomain/api/auth/callback, vercel.app domain/api/auth/callback. http://localhost:3000/api/auth/callback
I have a problem with some clients that have strong ssl firewalls. As they try to log in, they get an error: ERR_SSL_PROTOCOL_ERROR for vercel.app domain
Vercel seems to redirect to the vercel.app domain callback (which should not even be redirected to, as they are accessing from the customdomain).
I tried a few things. I deleted the vercel.app domain from the project domain and taken out the call back. I get an error from auth0 that there is a callback mismatch, it still looks for the vercel.app domain. This seems to be a vercel issue as the local host still works fine. It looks like when logging in with the customdomain it redirects to the vercel.app domain and then back to the customdomain , even if it doesn’t exist anymore. Is there a way to make the domain the primary address of some sort? AI told me to flag Set Primary Domain option in the project's domains settings, but I don't see it. I checked dns and ssl as ai suggestes, everything works in dns and is A+
Thank you for your help!