# SSO credentials validity / forced logout

**URL:** <https://meta.discourse.org/t/sso-credentials-validity-forced-logout/126874>\
**Category:** WordPress\
**Created:** [August 26, 2019, 9:31pm UTC](https://meta.discourse.org/t/sso-credentials-validity-forced-logout/126874 "2019-08-26T21:31:23Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Cardinalflyer](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Cardinalflyer](https://meta.discourse.org/u/Cardinalflyer)\
**Post date:** [November 26, 2019, 5:40pm UTC](https://meta.discourse.org/t/sso-credentials-validity-forced-logout/126874/13 "2019-11-26T17:40:31Z")

</div>

> [@simon](#):
>
> `/admin/users/<discourse_user_id>/log_out`

I’m trying to do this via a web link, as I’m not using WordPress. Should I be able to do it with something like this?

`https://community.mysite.com/admin/users/100004/log_out`

It comes up with a 404 error for me, and the user is not logged out.

If I can get a URL to work I’m hoping to force logout using a curl or file\_get\_contents command in PHP…

---

_[View the full topic](https://meta.discourse.org/t/sso-credentials-validity-forced-logout/126874)._
