# Allow name removal using SSO

**URL:** <https://meta.discourse.org/t/allow-name-removal-using-sso/141691>\
**Category:** Feature\
**Created:** [February 15, 2020, 5:23pm UTC](https://meta.discourse.org/t/allow-name-removal-using-sso/141691 "2020-02-15T17:23:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![mentalstring](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mentalstring/32/168934_2.png) [@mentalstring](https://meta.discourse.org/u/mentalstring)\
**Post date:** [February 15, 2020, 5:23pm UTC](https://meta.discourse.org/t/allow-name-removal-using-sso/141691/1 "2020-02-15T17:23:39Z")

</div>

Using `/admin/users/sync_sso` endpoint to sync SSO data, it is not possible to remove someone’s name from the account, even if it is not required. In other other words, it’s not possible to change an account’s name from something to nothing. This is happening with `full_name_required = false` (and `sso_overrides_name = true`).

I believe the issue is here:

> <https://github.com/discourse/discourse/blob/88ecb650a98921e5e3cd345e29f84d9dd204b777/app/models/discourse_single_sign_on.rb#L268>

but I’m afraid my knowledge of Ruby/Discourse isn’t that hot to submit a PR.

---

_[View the full topic](https://meta.discourse.org/t/allow-name-removal-using-sso/141691)._
