I have enabled SSO for our Discourse installation, and everything works just fine. However, when a user views their preferences, their name isn’t displayed:
As you can see from this screenshot, username and email are displayed, and the users name is displayed in the header, but not in the Name section, as you’d expect.
Is this expected behavior?
I have checked, and name is populated in users, as is external_name in single_sign_on_records.
Also, is there any way to hide the “(optional)” text, as it feels very redundant here since a users full name is provided by the SSO provider, and we don’t allow them to change it via Discourse.
However, this is an issue for me because I don’t want to allow users to, or even give the impression that they can, change their name from within Discourse, since it won’t propagate to all our other apps. We have a dedicated profile page for that, and the “one source of the truth” is our SSO provider, hence me enabling sso overrides name in the first place.
Would you consider this to be expected behaviour, or a bug?
It sure is! That’s a crazy level of support - bug raised in the morning, fixed in the afternoon (at least in my timezone ), if only more were like you.
Thank you both for spending the time tracking down the issue, and then fixing it so promptly.