# 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:** 1

<div class="post-metadata">

**Author:** ![markwill](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@markwill](https://meta.discourse.org/u/markwill)\
**Post date:** [August 26, 2019, 9:31pm UTC](https://meta.discourse.org/t/sso-credentials-validity-forced-logout/126874/1 "2019-08-26T21:31:23Z")

</div>

What expectation should I have for how long a user can stay logged on before being prompted again?

I have implemented my own check in functions.php, integrating with the SSO plugin for WordPress. My logic seems pretty simple but I just noticed that a member who had a declined credit card (hence removing the user tag that my logic checks) was able to access my forum today. On further checking she last logged on a couple of days ago and, I guess, still seems to be. Her last logon date for WordPress is also a few days back.

Is it expected that her cached credentials should still be working. If so, is there any way to control the validity of the token and/or respond to a webhook to force a logout?

Thank you.

---

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