# 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. Juli 2016 um 20:09 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:** 2

<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: [20. Juli 2016 um 20:35 UTC](https://meta.discourse.org/t/wp-and-discourse-not-in-sync-using-sso/47564/2 "2016-07-20T20:35:16Z")

</div>

> [@jamesmarkcook](#):
>
> When I log out of Discourse, it redirects me to Wordpress where I am still logged in

If you add the path `http://your-blog.com/?request=logout` to the ‘logout redirect’ setting in Discourse logging out from Discourse will log you out from WordPress. I’ll add that to the documentation.

> [@jamesmarkcook](#):
>
> If I log out of Wordpress, my Discourse account stays logged in until I click Log out

Yes, that’s the way it works. But to me it seems that logging out of WordPress should also log you out of Discourse.

> [@jamesmarkcook](#):
>
> Human verification check appears to be ignored when accessing Wordpress login page from Discourse Login link.

Can you check that out some more? Is there a plugin that you are using for this? I’d like to try it out.

> [@jamesmarkcook](#):
>
> 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

This should only be the case if the setting ‘Redirect Without Login’ is enabled on WordPress. Otherwise, you should be logged in automatically.

 ![](https://global.discourse-cdn.com/meta/original/3X/9/e/9ed98fbcbace32ca53a778bdf7ef7eff9183ee69.png)

---

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