: mismatching_state: CSRF Warning! State not equal in request and response

Hi,

I’ve been working on my Flask (with the Auth0 example) app for a while. I pushed it to DigitalOcean and started receiving this error when users tried to log in: “mismatching_state: CSRF Warning! State not equal in request and response.” What way would be the easiest way to solve it? Or is a a non Auth0 related issue?

Hi,
Could make sure the session and security token configurations are consistent across your local and DigitalOcean environments.
Also check the Auth0 setup…ensure the state tokens are being stored and retrieved correctly without any alterations due to differences in cookie management
Cheers,
Harsh