# Is there an endpoint to check if a user is logged in

**URL:** <https://meta.discourse.org/t/is-there-an-endpoint-to-check-if-a-user-is-logged-in/72780>\
**Category:** Development\
**Created:** [2017年十月25日 18:26 UTC](https://meta.discourse.org/t/is-there-an-endpoint-to-check-if-a-user-is-logged-in/72780 "2017-10-25T18:26:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)\
**Post date:** [2018年七月23日 02:46 UTC](https://meta.discourse.org/t/is-there-an-endpoint-to-check-if-a-user-is-logged-in/72780/11 "2018-07-23T02:46:47Z")

</div>

> [@sam](#):
>
> If you want anything fancy like this you would need to implement your own `CurrentUserProvider`

Thanks, I just looked it up and found [this other thread](https://meta.discourse.org/t/amending-current-user-logic-in-discourse/10278), so I’ll ask some more questions about it over there.

Edit: it looks like we can do what we need with Discourse as an SSO provider.

---

_[View the full topic](https://meta.discourse.org/t/is-there-an-endpoint-to-check-if-a-user-is-logged-in/72780)._
