# 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:** 1

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [July 22, 2015, 3:17pm UTC](https://meta.discourse.org/t/cannot-change-username-with-sso-enabled/31307/1 "2015-07-22T15:17:20Z")

</div>

When renaming a user (from `jb1` to `jb`), I get this error message:  
`There was an error changing your username.`

No information is recorded in `/logs`.  
The old username was created because the user used SSO for the first time, and his name was too short. Now, I changed the minimum username length, and wanted to adjust his name.

---

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