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

<div class="post-metadata">

**Author:** ![jamesmarkcook](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jamesmarkcook/32/168563_2.png) [@jamesmarkcook](https://meta.discourse.org/u/jamesmarkcook)\
**Post date:** [20.Июль.2016 20:09:13 UTC](https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564/1 "2016-07-20T20:09:13Z")

</div>

I’ve been playing around with the WP plugin and SSO this evening but it’s not as great as I’d hoped. I’m hoping I’m doing something wrong as there are a few things I’ve noticed which are less than ideal.

1. When I log out of Discourse, it redirects me to Wordpress where I am still logged in
2. If I log out of Wordpress, my Discourse account stays logged in until I click Log out.
3. Human verification check appears to be ignored when accessing Wordpress login page from Discourse Login link. (However I’ve not investigated this and it may be an issue with my Wordpress setup)
4. If I log in on Wordpress and click a link to Discourse, I still have to click the ‘Login’ button on Discourse to be logged in (unless I click a link with `session/sso` at the end, obviously). For me, Discourse should recognise I’m logged in automatically.

From my understanding the two should stay in sync. This doesn’t appear to be happening. Has anyone else encountered these issues?

[This post](https://meta.discourse.org/t/discourse-sso-logout/28509) appears to be talking about a similar thing, albeit it in a custom implementation of SSO, not the WP plugin. It’s my assumption that these issues would have been ironed out by now, but maybe not?

---

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