Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError #250

Open
sjoliver opened this issue Apr 6, 2022 · 1 comment
Open

csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError #250

sjoliver opened this issue Apr 6, 2022 · 1 comment

Comments

@sjoliver
Copy link

sjoliver commented Apr 6, 2022

I set OAuth up according to the docs but as soon as I click the sign in link in the browser, I get an error this error. I'm new to Rails so struggling to figure this one out, any help would be much appreciated - thanks!

@lucaspetti
Copy link

I was having a similar issue, adding this gem to the Gemfile solved it for now (remember to run bundle install) :
gem 'omniauth-rails_csrf_protection'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants