Hi, thank you for your work. Faced a problem, I'm trying to implement sso for my main project, so that users can enter through the data from the main site. I followed this example and copied it: misago-project.org/t/101-single-sign-on-sso-implementation/948/post/4325/. But after logging in, it just throws me to the main page of the project, and there is no redirect back to the forum. In this case, when you try to log in again, an error is generated:
django.db.utils.IntegrityError: duplicate key value violates unique constraint "misago_users_user_email_hash_key"
DETAIL: Key (email_hash) = (2250630ed7c921ddfcf4cb49bce145a5) already exists.