# /users/by-external/ not working

**URL:** <https://meta.discourse.org/t/users-by-external-not-working/57401>\
**Category:** Support\
**Created:** [February 15, 2017, 4:09am UTC](https://meta.discourse.org/t/users-by-external-not-working/57401 "2017-02-15T04:09:44Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Biarity](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/biarity/32/121215_2.png) [@Biarity](https://meta.discourse.org/u/Biarity)\
**Post date:** [February 15, 2017, 4:09am UTC](https://meta.discourse.org/t/users-by-external-not-working/57401/1 "2017-02-15T04:09:45Z")

</div>

This route doesn’t seem to be working:

```
 /users/by-external/:external-id

```

It’s essential when using Disocurse as an SSO provider since you need to know the usernames of a user, given their external\_id. (And since usernames can change, I don’t want to manage storing them in my own database).

Any idea how to make it work? I tried appending `.json` with no luck.

---

_[View the full topic](https://meta.discourse.org/t/users-by-external-not-working/57401)._
