# "Authentication failure! csrf\_detected: OmniAuth::Strategies::OAuth2::CallbackError" Error due to missing session\["omniauth.state"\]

**URL:** <https://meta.discourse.org/t/authentication-failure-csrf-detected-omniauth-callbackerror-error-due-to-missing-session-omniauth-state/153222>\
**Category:** SSO\
**Tags:** unsupported-install\
**Created:** [May 29, 2020, 12:32pm UTC](https://meta.discourse.org/t/authentication-failure-csrf-detected-omniauth-callbackerror-error-due-to-missing-session-omniauth-state/153222 "2020-05-29T12:32:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [May 29, 2020, 2:08pm UTC](https://meta.discourse.org/t/authentication-failure-csrf-detected-omniauth-callbackerror-error-due-to-missing-session-omniauth-state/153222/4 "2020-05-29T14:08:13Z")

</div>

Are you following our standard [install guide](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md)?

Unfortunately it is very tricky for us to help here without visibility of the site. Are you able to share a link?

---

_[View the full topic](https://meta.discourse.org/t/authentication-failure-csrf-detected-omniauth-callbackerror-error-due-to-missing-session-omniauth-state/153222)._
