I recently changed my SSO email address (by first adding the new address as a secondary address, then making this the primary address, then removing the old address - the only way SSO provides for this purpose).
Because Discourse user profiles / accounts are not kept in sync with changes on SSO, as soon as my primary (SSO) email address changed, I was no longer able to access my user profile on Discourse, and Discourse would prompt me to create a new one.
This is not ideal. The issue appears to be that while the Discourse SSO consumer mechanism (which you may or may not be using) could handle these SSO changes, Discourse user IDs are bound to email addresses rather than permanent SSO user IDs, and changes on the SSO side are not synced down to Discourse on this installation.
While this remains an issue, I would appreciate if some documentation could be provided for Discourse users intending to change their email address and keep their Discourse profile.
The only possible approach appears to be this currently:
- Change your email address in Discourse
- Change your email address on SSO
Doing it the other way around will make you end up with a new registration form on Discourse, and loss of access to the old Discourse user profile.
Thanks to @guiverc and @Wild_Man for helping me work this out.