# WP and Discourse not in sync using SSO

**URL:** <https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564>\
**Category:** WordPress\
**Created:** [20.Июль.2016 20:09:13 UTC](https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564 "2016-07-20T20:09:13Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [09.Март.2017 19:56:16 UTC](https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564/11 "2017-03-09T19:56:16Z")

</div>

Are you using WordPress as the SSO provider for Discourse? If that is the case, when you logout of WordPress, you should be also logged out of Discourse.

If you would also like to have it so that when you log out of Discourse, you will be logged out of WordPress, you need to add a URL to the ‘logout redirect’ setting on your Discourse installation. The URL should be set to `example.com/?request=logout`

This needs to be better documented.

Can you double check that logging out of WordPress is not logging the user out of Discourse? I haven’t heard of any problems with this since it was implemented. It works correctly on both my development and production sites.

---

_[View the full topic](https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564)._
