# "Login error" page during the login attempt by existing user previously added through SSO

**URL:** <https://meta.discourse.org/t/login-error-page-during-the-login-attempt-by-existing-user-previously-added-through-sso/282160>\
**Category:** SSO\
**Tags:** discourseconnect\
**Created:** [October 13, 2023, 4:27pm UTC](https://meta.discourse.org/t/login-error-page-during-the-login-attempt-by-existing-user-previously-added-through-sso/282160 "2023-10-13T16:27:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![GeorgeDev](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/georgedev/32/333169_2.png) [@GeorgeDev](https://meta.discourse.org/u/GeorgeDev)\
**Post date:** [October 13, 2023, 4:27pm UTC](https://meta.discourse.org/t/login-error-page-during-the-login-attempt-by-existing-user-previously-added-through-sso/282160/1 "2023-10-13T16:27:39Z")

</div>

Hi there. The whole “SSO loop” (send the user to our site → authenticate → send back to Forum with signed payload) seems to be set correctly as the first user was added properly (I can see the user in the admin dashboard with [DiscourseConnect](https://meta.discourse.org/t/13045?silent=true) Single Sign On details). However, after the user logs out from the forum and tries to log back in, he sees the “Login Error” page. The log file’s log says “Completed 422 Unprocessable Entity”. I’ve checked sso and sig → everything is correct. How or where can I find the reason for that error?

---

_[View the full topic](https://meta.discourse.org/t/login-error-page-during-the-login-attempt-by-existing-user-previously-added-through-sso/282160)._
