SSOが既存のアカウントの代わりに新しいアカウントを作成する問題

SSO は数ヶ月間問題なく動作していましたが、SSO 導入前に作成されたあるユーザーアカウントで問題が発生しています。メインサイトではユーザー名 U1 でメールアドレス E1 を使用していましたが、コミュニティ側のアカウント 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.