# Get external\_id used in SSO through the API

**URL:** <https://meta.discourse.org/t/get-external-id-used-in-sso-through-the-api/88611>\
**Category:** Product Support\
**Created:** [May 28, 2018, 7:08pm UTC](https://meta.discourse.org/t/get-external-id-used-in-sso-through-the-api/88611 "2018-05-28T19:08:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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 28, 2018, 8:00pm UTC](https://meta.discourse.org/t/get-external-id-used-in-sso-through-the-api/88611/4 "2018-05-28T20:00:46Z")

</div>

That looks like the data that’s returned from the regular user route, not the `/admin/users/{user_id}.json` route. To double check, go to the `/admin/users` page on your forum. Click on the username of a user you know has logged in through SSO. On that user’s page, add `.json` to the URL in your browser’s address bar. You should see a json response with a `single_sign_on_record` property.

---

_[View the full topic](https://meta.discourse.org/t/get-external-id-used-in-sso-through-the-api/88611)._
