# User name not displayed everywhere when using SSO

**URL:** https://meta.discourse.org/t/user-name-not-displayed-everywhere-when-using-sso/35770
**Category:** Bug
**Created:** [11월 18, 2015, 9:01오후 UTC](https://meta.discourse.org/t/user-name-not-displayed-everywhere-when-using-sso/35770 "2015-11-18T21:01:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fbender](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbender/32/116736_2.png) [@fbender](https://meta.discourse.org/u/fbender)
#### Post date: [11월 18, 2015, 9:01오후 UTC](https://meta.discourse.org/t/user-name-not-displayed-everywhere-when-using-sso/35770/1 "2015-11-18T21:01:45Z")

</div>

I setup a Discourse install using SSO auth with an existing website (replacing an in-CMS private forum). The payload contains an `external_id`, `email`, `name`, and `moderator == false` but not `username` (this is generated on first login by Discourse). Discourse is setup to display the full name of the user everywhere (`enable names`, `display name on posts`, `full name required`).

However, there seems to be a discrepancy on where the name of the user is displayed or stored. On the public profile, the username is displayed. In the user preferences, the `name` field is empty. In the admin panel (/admin/users/list/active) the `name` is listed correctly, however in the “Single Sign-On” section the `name` field is empty (while `external_id` and `email` is filled correctly in this section).

At least the first issue (name missing in user preferences, as read-only?) should be fixed as it confuses users. The discrepancy with the user admin listing is odd. And I assume the “Single Sign-On” name should be filled, too.

I did not find any other discrepancies. I’ll report back if I find anything else.

---

<div class="post-metadata">

### Author: ![fbender](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fbender/32/116736_2.png) [@fbender](https://meta.discourse.org/u/fbender)
#### Post date: [12월 14, 2015, 8:57오전 UTC](https://meta.discourse.org/t/user-name-not-displayed-everywhere-when-using-sso/35770/2 "2015-12-14T08:57:39Z")

</div>

Ok so it turns out I was dumb and did actually provide an empty `name` in the payload, the name was taken from the e-mail address instead. This is fixed now, so the Admin-Users view is now working as expected.

_However_, the name does still not appear in the the user’s profile settings page when using SSO. So there’s a minor bug here. Maybe this is related to the `sso_overrides_name` setting (which is true on my install)?

---

<div class="post-metadata">

### Author: ![ColdSun](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/coldsun/32/66668_2.png) [@ColdSun](https://meta.discourse.org/u/ColdSun)
#### Post date: [1월 17, 2016, 11:12오전 UTC](https://meta.discourse.org/t/user-name-not-displayed-everywhere-when-using-sso/35770/3 "2016-01-17T11:12:18Z")

</div>

I’m running into the same issue. User profiles only partially display the full name.

It is correctly showing in the top little banner area of the profile next to the username & avatar.  
It is however absent from the list of fields. It should either hide the label for the field, or display the full name.
