SSO 创建新账户而非使用现有账户

我的 SSO 已经顺利运行了几个月,但遇到一个在 SSO 启用前创建的用户账户的问题。在我的主站点上,该用户使用用户名 U1 和邮箱 E1,但他们在 Discourse 社区中的良好账户 U1 使用的是邮箱 E2。因此,当他们现在尝试登录时,Discourse 用 E1 创建了一个新账户 U2。

我尝试通过删除 Discourse 中的 U2 来纠正此问题,并尝试以 U1 的身份冒充该用户,将其邮箱地址更新为 E1。系统提示已发送邮件,但他们并未收到,而且我甚至不确定这是否能解决问题。

我可以亲自确认该问题:当我在主站点以 U1 的身份冒充该用户时,Discourse 仍然会创建 U2。

非常感谢帮助!谢谢。

Search here for “merge user”

Are you sure that a user merge will handle SSO records correctly?
I have the feeling that this will become an even larger mess…

I am not sure, but that’s what I’ve done to solve similar problems with imports. The other solution is to muck with the SSO mapping at the console, which is beyond what is typically feasible here.

Deleting U2 and changing U1’s email address to the SSO email address should work, I’d think. Why this didn’t work seems like a separate issue, but could be the safest way to go.

Since you are a customer you can email us directly via the private email address we provide to you, and we can support you directly.