Using SSO for Ontraport/Wordpress + Discourse

AI-generated summary

The original poster, waffleslop, wants to manage users in Ontraport and grant access to specific courses and Discourse using SSO via the WordPress login page. The unique situation involves multiple courses with limited access to Discourse.

waffleslop asks two questions:

  1. Can the WP Discourse plugin be used to manage access to specific products/courses and allow access to Discourse?
  2. Will the login experience change for non-Discourse course customers?

simon responds that the login experience will not change for non-Discourse course customers. simon also suggests two possible approaches:

  • Restricting access to Discourse based on specific courses, similar to the solution provided in this topic.
  • Allowing all users to access Discourse but restricting access to specific categories for users who have signed up for a course, using functions provided by the WP Discourse plugin as detailed in this topic.

Summary: I want to continue to manage users inside Ontraport and grant them access to the courses they purchase. When they purchase one specific course, I want to grant them access to Discourse, using SSO via the wordpress login page. Is this possible?

Unique situation:

  1. Wordpress has many courses, of which we only want TWO courses to have access to Discourse (these courses enroll every 6 months. In 2 years, we will have 8 courses:
  • 2019 Course A, Group 1
  • 2019 Course B, Group 1
  • 2019 Course A, Group 2
  • 2019 Course B Group 2
  • plus the same for 2020…
  1. We’re using Ontraport to manage members and their access

Questions:

  1. If I install the WP Discourse plugin, will I be able to manage access to one product/course and allow them into Discourse?
  2. Will the login experience change for non-Discourse course customers? They currently log in at wordpressdomain.com - wordpressdomain Resources and Information.

That sounds similar to what is asked here: How to prevent some WP users from being able to login to Discourse. The second post in that topic shows one way of implementing it.

Another approach would be to allow all users on your WordPress site to access Discourse, but restrict access to some categories on your forum to users who have signed up for a course. This is more complicated to implement, but can be done. See Manage group membership in Discourse with WP Discourse SSO for details about some functions the plugin makes available for this.

No, nothing will change in the WordPress login experience.