# Cannot change username with SSO enabled

**URL:** <https://meta.discourse.org/t/cannot-change-username-with-sso-enabled/31307>\
**Category:** Bug\
**Created:** [July 22, 2015, 3:17pm UTC](https://meta.discourse.org/t/cannot-change-username-with-sso-enabled/31307 "2015-07-22T15:17:20Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![andrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andrei/32/205142_2.png) [@andrei](https://meta.discourse.org/u/andrei)\
**Post date:** [December 29, 2021, 9:15pm UTC](https://meta.discourse.org/t/cannot-change-username-with-sso-enabled/31307/11 "2021-12-29T21:15:10Z")

</div>

> [@fefrei](#):
>
> I found it: `sso overrides username` prevents the name change.
> 
> I still consider this situation a bug. Enabling this setting should _either_ hide the `Change Username` button from the administrator panel and disable the `users/.../preferences/username` page, _or_ still allow username changes for admins (possibly with a warning).

Turned out it’s already fixed. We hide this pencil when the setting is turned on:

 ![Screenshot 2021-12-29 at 22.05.33](https://global.discourse-cdn.com/meta/original/3X/9/6/960cdf8fe2c06dc07cfe54c2564300d783513e29.png)

Also, we show this if an admin is trying to change username of some user:

 ![Screenshot 2021-12-29 at 22.11.51](https://global.discourse-cdn.com/meta/original/3X/7/1/71fcbc280e6f9025de5faa8cc165c0597e024555.png)

---

_[View the full topic](https://meta.discourse.org/t/cannot-change-username-with-sso-enabled/31307)._
