# Discourse as SSO provider for Wordpress multisite

**URL:** <https://meta.discourse.org/t/discourse-as-sso-provider-for-wordpress-multisite/119617>\
**Category:** WordPress\
**Created:** [06.Июнь.2019 00:30:03 UTC](https://meta.discourse.org/t/discourse-as-sso-provider-for-wordpress-multisite/119617 "2019-06-06T00:30:03Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [06.Июнь.2019 15:49:47 UTC](https://meta.discourse.org/t/discourse-as-sso-provider-for-wordpress-multisite/119617/5 "2019-06-06T15:49:47Z")

</div>

> [@Ehsan\_Salarikhaniki1](#):
>
> When user logs in / out from wp, they logs in / out from Discourse too but, when user logs in or out from Discourse, nothing happens on WP. How could I make this a two way setup/

You can do this by setting the `logout redirect` site setting on your Discourse forum to the home URL of your WordPress site and adding the query parameter `?request=logout`. For example:

```plaintext
https://example.com/?request=logout

```

---

_[View the full topic](https://meta.discourse.org/t/discourse-as-sso-provider-for-wordpress-multisite/119617)._
