kmrshntr / omniauth-slack

omniauth-slack
MIT License
95 stars 154 forks source link

omniauth: (slack) Authentication failure! csrf_detected: OmniAuth::Strategies::OAuth2::CallbackError, csrf_detected | CSRF detected #29

Closed danielschwartz closed 8 years ago

danielschwartz commented 8 years ago

I get the above error on a totally vanilla setup with Devise. I've tried submitting the CSRF token as the state and that does not fix the issue either. The link the slack button sends users to is: https://slack.com/oauth/authorize?scope=identify&client_id=<client_id>

Any help would be appreciated.

danielschwartz commented 8 years ago

Fixed this. Was incorrectly generating the link.

romanos commented 6 years ago

Hey @danielschwartz, I still get this issue. Just wanted to say hi though.

danielschwartz commented 6 years ago

Oh hai @romanos 😀. I can look into my internal monkey patch that I made to see if it helps. Remind me some time next week and I’ll create a gist for you.

romanos commented 6 years ago

Thanks dude, it's all good. Already solved it, just thought it was funny to see you here 🍺