# WP Discourse SSO not working / looping back to wordpress

**URL:** <https://meta.discourse.org/t/wp-discourse-sso-not-working-looping-back-to-wordpress/74357>\
**Category:** WordPress\
**Created:** [November 19, 2017, 10:32am UTC](https://meta.discourse.org/t/wp-discourse-sso-not-working-looping-back-to-wordpress/74357 "2017-11-19T10:32:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Frankpanduh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frankpanduh/32/82581_2.png) [@Frankpanduh](https://meta.discourse.org/u/Frankpanduh)\
**Post date:** [November 19, 2017, 10:32am UTC](https://meta.discourse.org/t/wp-discourse-sso-not-working-looping-back-to-wordpress/74357/1 "2017-11-19T10:32:30Z")

</div>

I’m struggling to get the SSO setup with Wordpress.

after setting up on both the discourse and Wordpress according to setup tutorials.

my attempt to login to the discourse post setup:

discourse login \< Wordpress login page \< sign in \< redirected back Wordpress

but never redirects back to discourse or logs in to discourse at all.

I been trying to figure out this loop any insight as to whats going on?

Wordpress Setup:  
NGINX | PHP-FPM | PHP-CURL | MARIADB (https)  
(possible causes that i can’t entirely figure out: using THEME-MY-LOGIN / DIVI Builder )

Discourse Setup:  
Digital Ocean One-Click. (HTTPS)

---

_[View the full topic](https://meta.discourse.org/t/wp-discourse-sso-not-working-looping-back-to-wordpress/74357)._
