# User profile page by id?

**URL:** <https://meta.discourse.org/t/user-profile-page-by-id/118663>\
**Category:** SSO\
**Created:** [May 25, 2019, 2:04pm UTC](https://meta.discourse.org/t/user-profile-page-by-id/118663 "2019-05-25T14:04:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![John\_Lehmann](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/john_lehmann/32/140084_2.png) [@John\_Lehmann](https://meta.discourse.org/u/John_Lehmann)\
**Post date:** [May 26, 2019, 11:34am UTC](https://meta.discourse.org/t/user-profile-page-by-id/118663/4 "2019-05-26T11:34:39Z")

</div>

It would be great if there were a PUT endpoint for `username`. The use case is sites like mine which transitioned to SSO, to get all the usernames synced. Then my plan A would have just worked.

My fallback plan I think is going to be to add another column to store `discourse_username` also in my DB along with `discourse_id`. This way, I can directly to their profile with username. The downside is that this username can change. So I need to daily scan all users to re-sync.

---

_[View the full topic](https://meta.discourse.org/t/user-profile-page-by-id/118663)._
