FB Login - Do not allow Full name to be changed

AI-generated summary

A discussion is underway about the Facebook login feature on Discourse, specifically regarding the ability to prevent users from changing their full name. Michael_SC is seeking a solution to keep full names from Facebook intact, with an option to display a message indicating that the full name won’t appear on the public profile. Sam mentions that a custom SSO provider could offer this feature, but it’s not currently available for Facebook auth. David confirms that this type of request is common and plans to make improvements soon.

I currently have mandatory Facebook registration/login activated on my Discourse installation.

I noticed that users are given the option of choosing user name AND changing their full name.

Is there a way so that their Full Name cannot be changed (but with a small text that explains that their Full Name will not appear on their Public Profile)?

Thank you.

Our SSO provider supports sso_overrides_name which would give you that option but you would have to use a custom SSO provider on your end.

I do not think we have such an option for facebook auth.

@david have you noticed this as a common request? Do we want to pull some of these settings out of SSO only mode and allow them for managed authenticators?

2 Likes

Thank you.

It would be helpful for me because I would like to (try to) migrate at least some FB users from a closed FB group onto Discourse over time, and it would let me know who is who.

There may also be users who are fine with letting their Full Names (pulled from Facebook) be part of their public profile, since these FB users already have pre-existing relationships with one another that they probably want to continue on Discourse.

Yes this kind of request is very common, I would like to make some improvements here soon

2 Likes