# WP-Discourse Force SSO?

**URL:** <https://meta.discourse.org/t/wp-discourse-force-sso/91932>\
**Category:** WordPress\
**Created:** [7월 10, 2018, 5:04오전 UTC](https://meta.discourse.org/t/wp-discourse-force-sso/91932 "2018-07-10T05:04:52Z")\
**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:** [7월 10, 2018, 6:57오전 UTC](https://meta.discourse.org/t/wp-discourse-force-sso/91932/2 "2018-07-10T06:57:49Z")

</div>

> [@Speck\_of\_the\_Cosmos](#):
>
> I’ve been trying to figure out how to force wordpress to use the [discourse SSO](https://meta.discourse.org/t/13045?silent=true) instead of the default login.

I think an easy approach would be to password protect `wp-login.php` and then create your own login page. You can create a login link with the `[discourse_sso_client]` shortcode, or by creating a link with this form:

```plaintext
<a href="http://wordpress.dev/?discourse_sso=1&redirect_to=http://wordpress.dev/">Link Text</a>

```

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-force-sso/91932)._
