OmniAuth::Strategies::OAuth2::CallbackError (csrf_detected | CSRF detected)

I’m facing this issue http://prntscr.com/oq1zl3, I have also tried many solutions but not succeed, I also tried provider_ignores_state: true thi one.

I’m currently running into the same issue. Any luck solving this?

My google-fu got a bit better and I discovered this github thread: https://github.com/omniauth/omniauth-oauth2/issues/58

Looks like modifying the config in Auth0 to be 127.0.0.1 instead of localhost fixed this for me. Good luck!

1 Like

Thanks a lot for sharing it with the rest of community!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.