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

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [May 26, 2019, 6:25pm UTC](https://meta.discourse.org/t/user-profile-page-by-id/118663/5 "2019-05-26T18:25:42Z")

</div>

> [@John\_Lehmann](#):
>
> 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.

You can make a `POST` request to `/admin/users/sync_sso` for this. If you are using the Discourse API gem, you can use the gem’s `sync_sso` method for this. If you are not using the gem, see [Sync DiscourseConnect user data with the sync\_sso route](https://meta.discourse.org/t/sync-sso-user-data-with-the-sync-sso-route/84398) for details about setting up the request.

---

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