# Using Discourse as a SSO on a headless WP install

**URL:** <https://meta.discourse.org/t/using-discourse-as-a-sso-on-a-headless-wp-install/131546>\
**Category:** WordPress\
**Created:** [21 באוקטובר,‏ 2019,‏ 1:23pm UTC](https://meta.discourse.org/t/using-discourse-as-a-sso-on-a-headless-wp-install/131546 "2019-10-21T13:23:10Z")\
**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:** [21 באוקטובר,‏ 2019,‏ 5:33pm UTC](https://meta.discourse.org/t/using-discourse-as-a-sso-on-a-headless-wp-install/131546/2 "2019-10-21T17:33:53Z")

</div>

When users are logged into WordPress with Discourse as the SSO provider, the login process begins by redirecting the user to

`http://example.com?discourse_sso=1&redirect_to=http://example.com/your-landing-page`.

It should be possible to get this to work with a headless WordPress site. Let us know if ou run into any problems with it.

---

_[View the full topic](https://meta.discourse.org/t/using-discourse-as-a-sso-on-a-headless-wp-install/131546)._
