# 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:** [July 7, 2015, 12:07am 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:** 4

<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:** [July 7, 2015, 9:22pm UTC](https://meta.discourse.org/t/using-the-api-is-it-possible-find-users-by-their-sso-username/30845/4 "2015-07-07T21:22:30Z")

</div>

With a little tweak @riking that is it.  
/users/by-external/#{sso\_username}.json

The json part is needed as it will not do the search otherwise. This needs to be added to the api gem.

---

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