# Synchronising log out of discourse when logging out of WordPress

**URL:** <https://meta.discourse.org/t/synchronising-log-out-of-discourse-when-logging-out-of-wordpress/48823>\
**Category:** WordPress\
**Created:** [18 augustus 2016 om 19:01 UTC](https://meta.discourse.org/t/synchronising-log-out-of-discourse-when-logging-out-of-wordpress/48823 "2016-08-18T19:01:21Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)\
**Post date:** [2 januari 2018 om 21:51 UTC](https://meta.discourse.org/t/synchronising-log-out-of-discourse-when-logging-out-of-wordpress/48823/16 "2018-01-02T21:51:37Z")

</div>

I can add it as an option to the SSO Client settings. When WordPress is used as the SSO Provider, logging out from WordPress logs the user out of Discourse. With a slight modification, that same code will work for when WordPress is the SSO Client.

---

_[View the full topic](https://meta.discourse.org/t/synchronising-log-out-of-discourse-when-logging-out-of-wordpress/48823)._
