# Connect SSO: Login Error sso\_login

**URL:** <https://meta.discourse.org/t/connect-sso-login-error-sso-login/309413>\
**Category:** SSO\
**Created:** [May 25, 2024, 11:20pm UTC](https://meta.discourse.org/t/connect-sso-login-error-sso-login/309413 "2024-05-25T23:20:03Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [May 26, 2024, 12:14am UTC](https://meta.discourse.org/t/connect-sso-login-error-sso-login/309413/2 "2024-05-26T00:14:45Z")

</div>

> [@BrainFried](#):
>
> I feel like it’s possibly caused by different browsers session

That sounds like the issue. You should be able to get around it by ~~enabling~~ disabling the `discourse_connect_csrf_protection` site setting. It’s a hidden site setting, set to `true` by default. You’ll need to enable it from the Rails console.

It’s used in the code here:

> <https://github.com/discourse/discourse/blob/581dbca97f2b55c9bbbe40dc3b58a9df7409d77f/app/models/discourse_connect.rb#L48-L54>

---

_[View the full topic](https://meta.discourse.org/t/connect-sso-login-error-sso-login/309413)._
