# WP-Discourse Force SSO?

**URL:** https://meta.discourse.org/t/wp-discourse-force-sso/91932
**Category:** WordPress
**Created:** [July 10, 2018, 5:04am UTC](https://meta.discourse.org/t/wp-discourse-force-sso/91932 "2018-07-10T05:04:52Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Speck\_of\_the\_Cosmos](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/speck_of_the_cosmos/32/119544_2.png) [@Speck\_of\_the\_Cosmos](https://meta.discourse.org/u/Speck_of_the_Cosmos)
#### Post date: [July 15, 2018, 12:13am UTC](https://meta.discourse.org/t/wp-discourse-force-sso/91932/5 "2018-07-15T00:13:02Z")

</div>

I still don’t think I’m explaining this correctly.

There’s two ways to prompt a login screen on wordpress. One, you click on a login link or go to /wp-login. I can indeed modify that to whatever I like using a plugin or whatever.

Two, I try to go /wp-admin, but wait, my login has expired so I need to login again, wordpress then redirects me to the wp-login page or even loads the login as in interstitial, where I login and am then returned to the original /wp-admin page that I was trying to get to or the interstitial is dismissed and I’m at the page I intended to be on.

That’s what I mean by the word redirect in my previous post.

Now I have two questions.

1. If I create a custom login, will wordpress redirect me to that from some other page I need to be logged in for or will it fail because I’ve removed /wp-login?

2. Why doesn’t the ‘login with discourse’ option not know that I was trying to get to the /wp-admin page and instead redirects me to homepage or some other preselected page instead of taking me back to the /wp-admin page that I was already on as the login dialogue came up.

That make sense?

---

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