# SSO - Impossibile disconnettersi

**URL:** <https://meta.discourse.org/t/sso-cannot-log-out/113124>\
**Category:** WordPress\
**Created:** [1 Aprile 2019, 1:50pm UTC](https://meta.discourse.org/t/sso-cannot-log-out/113124 "2019-04-01T13:50:36Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![TimJensen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/timjensen/32/543315_2.png) [@TimJensen](https://meta.discourse.org/u/TimJensen)\
**Post date:** [1 Aprile 2019, 1:50pm UTC](https://meta.discourse.org/t/sso-cannot-log-out/113124/1 "2019-04-01T13:50:36Z")

</div>

I have set up SSO, using WordPress as the provider. The log in process works as expected; however, the log out process does not work. When I click “Log Out” from the Discourse menu I do see a modal confirming logout, but then I am automatically logged back in when the page refreshes. Is there a way to fix this so that clicking “Log Out” actually logs the user out of Discourse?

Related: The authentication request that Discourse makes to WordPress only has `sso` and `sig` args, so there’s no way for me to check on the provider side if the request is a logout request since the signature looks identical to a login request.

---

_[View the full topic](https://meta.discourse.org/t/sso-cannot-log-out/113124)._
