Browser is confused about Environments

I have two separate Environments, one for Production and one for Staging. I changed zero code or environment variables and now when I go to my Staging website it attempts to use Production’s Environment, and I receive a “Callback URL mismatch. https://account.staging.pandagm.com/ is not in the list of allowed callback URLs”. I can see this Error being logged in the Production Environment on Auth0’s website.

The way I know it is not an issue with our code base is that if I open a browser that has never visited my Production site, in my case Edge, then the Login flow works correctly.

I believe there is some kind of cache that has gotten mixed up in the browser, I’ve also tried an incognito window and still receive the error.

Any help would be appreciated. Also, this has happened multiple times and it seems like it eventually just fixes itself after several days, but I would prefer it not continue to happen.

Hi @tech25,

After analyzing your tenants I see that everything is configured right. It might be a cookie related issue as you stated. I’d advise you to open a support ticket.

https://support.auth0.com/

If you have any other questions feel free to ask.

Have a good one,
Vlad