Populating Full Name with Email Address if Left Blank by SSO

I’m trying to repro this but looks like this isn’t the case.

https://github.com/discourse/discourse/blob/master/app/models/discourse_single_sign_on.rb#L109

The only way to have an entire email address on the name would be a improperly configured SSO passsing the email on the username field, since User.suggest_name will remove everything after the @.

2 Likes