# WP SSO Host. Discourse SSO Client setup not working

**URL:** https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190
**Category:** WordPress
**Created:** [1월 28, 2018, 8:58오전 UTC](https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190 "2018-01-28T08:58:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Frank\_Bailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frank_bailey/32/83927_2.png) [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)
#### Post date: [1월 28, 2018, 8:58오전 UTC](https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190/1 "2018-01-28T08:58:58Z")

</div>

I’ve got my WordPress site setup as the SSO provider and the Discourse forum set as SSO client. When I go to login on Discourse, I get taken to the login page on WordPress. However, when I click the login button it takes me to the WordPress admin dashboard instead of taking me back to Discourse. If I then open Discourse in a new tab, it hasn’t logged me in to Discourse. So I’m wondering if I have not configured something correctly?

I **DO** get the “You’re connected to Discourse” message in my WordPress “Discourse” page.

Here’re my WordPress and Discourse WP-Discourse / SSO settings:

 ![discourse-wp](https://global.discourse-cdn.com/meta/original/3X/f/8/f83198734deb2411abb2afb48477bc9623225f9f.png)

I **don’t** have the Theme My Login plugin in my WordPress installation.

My WordPress installation is running on [WPEngine.com](http://WPEngine.com) and Discourse is in a DigitalOcean droplet.

If anyone can offer any assistance on this I would appreciate it enormously.

---

<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: [1월 28, 2018, 4:35오후 UTC](https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190/2 "2018-01-28T16:35:16Z")

</div>

Do you have any other plugins installed that could be causing a redirect to the user’s profile page when they login? If you are already logged into WordPress, but not logged in to Discourse, does SSO login work?

---

<div class="post-metadata">

### Author: ![Frank\_Bailey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frank_bailey/32/83927_2.png) [@Frank\_Bailey](https://meta.discourse.org/u/Frank_Bailey)
#### Post date: [1월 28, 2018, 4:56오후 UTC](https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190/3 "2018-01-28T16:56:07Z")

</div>

Hi Simon,

I didn’t have a plugin doing that, however I did notice that there seemed to be a particular set of circumstances where I _was_ getting logged into the Discourse even though I wasn’t being taken to it after doing the WordPress login.

So I tried removing the “wp-login.php” on the end of my URL and that seems to have fixed the problem, virtually just this minute in fact, hehe.

Thanks for your help!

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [6월 8, 2024, 12:43오후 UTC](https://meta.discourse.org/t/wp-sso-host-discourse-sso-client-setup-not-working/79190/4 "2024-06-08T12:43:25Z")

</div>

이 주제는 2323일 후 자동으로 닫혔습니다. 더 이상 새 답변을 작성할 수 없습니다.
