• Resolved Arp Laszlo

    (@echoleaf)


    If I want to add Discourse to a membership site (for a members only forum), I assume that I’d have to use WP to handle the login?

Viewing 4 replies - 1 through 4 (of 4 total)
  • There are two ways to handle it:

    1. WP handles memberships and is the SSO provider
    2. Discourse handles memberships via its Subscriptions plugin and is the SSO provider.

    If the WP site does not have member-only content, the simpler solution is #2.

    See more:

    https://meta.discourse.org/t/wp-discourse-plugin-installation-and-setup/50752

    https://meta.discourse.org/t/discourse-subscriptions/140818

    https://meta.discourse.org/c/support/wordpress/21

    Thread Starter Arp Laszlo

    (@echoleaf)

    WP will have members only content. I just wanted to clarify before moving forward – thank you!

    Can I follow up on this to see if I get it?
    Scenario:
    Subscription via Discourse adds users to an exclusive group.
    Wordpress content could be automatically posted in this group
    Wordpress content could, via WordPress membership plugin(s), be limited to that same group of users (perhaps with some manual administration).

    Now if the users membership expires or is cancelled, would that sync with Wodrpess? Effectively cancelling their access to the WP site?

    Reason is I can imagine to move the site to Ghost or some other platform one day. So to have SSO via Discourse would be easier.

    • This reply was modified 3 years, 7 months ago by brobro.

    If the hub of activity is the Discourse forum, then yes, it would be better to have Discourse provide SSO. When the user membership expires or is cancelled in Discourse, have Discourse tell WP to change the user’s role.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘SSO for membership site?’ is closed to new replies.