I have a Wordpress install with WP Discourse and a Discourse install on a different server. I have successfully set both up and have SSO working correctly. I use PMP to manage membership. Everything works, but I have one very strange error:
Wordpress: wp.site.com
Discourse: disco.site.com
When someone goes to wp.site.com
, they are shown to the WP login page. If they log in, everything is perfect.
When they go to disco.site.com
and are NOT logged in, they get redirected to wp.site.com/?sso=####&sig=###&redirect_to=wp.site.com/?sso=####&sig=###&redirect_to=wp.site.com/?sso=####&sig=###&redirect_to=wp.site.com/?sso=####&sig=###&redirect_to=wp.site.com/?sso=####&sig=###&redirect_to=
Error: Request-URI Too Long
Discourse: 2.5.0.beta4
I do not have “sso allows all return paths” checked on Discourse.
Any ideas what could be causing this redirect loop only when coming from disco.site.com
?