# Using the API is it possible find users by their sso username

**URL:** <https://meta.discourse.org/t/using-the-api-is-it-possible-find-users-by-their-sso-username/30845>\
**Category:** Support\
**Created:** [07.Июль.2015 00:07:05 UTC](https://meta.discourse.org/t/using-the-api-is-it-possible-find-users-by-their-sso-username/30845 "2015-07-07T00:07:05Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![eriko](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eriko/32/1915_2.png) [@eriko](https://meta.discourse.org/u/eriko)\
**Post date:** [07.Июль.2015 00:07:05 UTC](https://meta.discourse.org/t/using-the-api-is-it-possible-find-users-by-their-sso-username/30845/1 "2015-07-07T00:07:05Z")

</div>

I can see in the api that once you have a user you can get their sso information. If you user are using sso you probably have a data source with this name. What you do not have is a source of the username they may have chosen in a discourse instance. This makes it very hard to find users. So it there a way to find a user by their sso username?

Since I moved to docker I have replacing some automation I that ran via adding it as a rake task. It added and disabled users. I do not want to do that anymore and would like the use the API to replace it.

---

_[View the full topic](https://meta.discourse.org/t/using-the-api-is-it-possible-find-users-by-their-sso-username/30845)._
