SSO crea un nuovo account invece di utilizzare quello esistente

Ho gestito l’SSO senza problemi per un paio di mesi, ma sto riscontrando difficoltà con un account utente creato prima dell’attivazione dell’SSO. Sul mio sito principale, con username U1, l’utente utilizza l’email E1, mentre il suo account community U1 utilizzava E2. Quindi, quando tenta di accedere ora, Discourse ha creato un nuovo account U2 con E1.

Ho provato a risolvere il problema cancellando U2 da Discourse e ho tentato di impersonare l’utente come U1 per aggiornare il suo indirizzo email a E1. Il sistema ha indicato che è stata inviata un’email, ma l’utente non l’ha ricevuta, e non sono nemmeno certo che questa azione risolverà il problema.

Posso confermare il problema personalmente: quando impersono l’utente come U1 sul mio sito principale, viene comunque creato un nuovo account U2 su Discourse. Qualsiasi aiuto è apprezzato! Grazie.

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.