WP Multisite 与多个 Discourse 实例

Hey – this popped up for me since you linked to my original topic. I’ll let @simon chime on with their thoughts, but one option that may or may not work for you (and would be much simpler) is to setup a single Discourse instance and use groups to separate out the forums.You can send group information in the SSO payload.

However, having multiple forums with a single one providing SSO should be pretty straightforward (although I haven’t tried it before). I believe the steps would be:

  1. Add WP Discourse plugin, and configure it as an SSO client (in network options)
  2. Set up the Discourse forum you would like to function as SSO provider (add secret keys to WP + Discourse, etc.)

From there, when adding subsequent forums they would be configured as an SSO client (and since WP Discourse is setup at the network level, you wouldn’t have to touch any configs when adding new sites).

Hope something in there is helpful to you!

2 个赞