NextJS + Vercel Application: api/auth/callback failing despite succeeding locally

Hello there!

I’m facing the same issue, it seems to be coming out of nowhere.
One thing that is odd tho’ is that we have a staging environment that shares the same Auth0’s configuration and for which everything works just fine.

So it might be an environment based issue.