What do I enter on WP side and Discourse side, specifically do I enable âenable sso providerâ and what is my sso url - a) mysite.com/discourse/sso or b) discourse.mysite.com.
If a) do I need to create a template and if so how (no template shows up currently)
I have now activated sso via WP plugin and in discourse. When I try to link to my forum I get: The webpage at http://pods.myenterpride.com/session/sso has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
I can also not get into my admin account via /users/admin-login I am getting [âBAD CSRFâ]
To get back into your site, try to open a private tab to use /users/admin-login.
If this doesnât work, ssh into your server and use these instructions to manually disable SSO.
I think that your SSO url is wrong. I was redirected to http://pods.myenterpride.com?sso=<token>&sig=<signature>, which is the domain of your Discourse installation. While I have no idea about the WP side of things, this needs to point somewhere where WP handles it.
`
Iâm still intrigued by the BAD CSRF. I literally didnât do anything than opening a new private tab in chrome, put in your E-Mail address, submitted the form, and got a confirmationâŠ
Your situation sounds very complex. You may need to wait until business weekdays for us to help. We generally do not work weekends unless something is on fire.
Thank you all for your input, I have solved the problem For those that may follow this thread, and are trying to connect discourse to a WP multisite here is what you shouldnât and should do.
Donât use WP Multisite SSO plugin, it breaks everything. Use WP Multisite User Management instead. @AdamCapriola Sorry mate, I couldnât get your plugin to work, probably my lack of coding experience, though.
What worked: On the WP side: Use the WP Discourse plugin, Check the âEnable SSO to Discourseâ, check that all user IDâs are the same across the network. On Discourse side: Enable SSO, Enable SSO Provider, and set URL to http://yoursite.com/session/sso_provider (for some reason I overlooked this ), override e-mail, override username and set not approved url. Clear all caches and test incognito.