Add links to Discourse that allow users to authenticate via SSO or access private groups directly if they are logged in already

Hey @rodrigo.braga :slight_smile:

I too am a little confused. If you could confirm the following:

Setup

Wordpress is set up as the DiscourseConnect provider for Discourse following the instructions here

Scenario 1

  1. A user is on your Wordpress site and is not logged in to Wordpress
  2. The user clicks a link on Wordpress in the format https://discourse.example.com/session/sso?return_path=/g/private_group
  3. The user is prompted to login to Wordpress
  4. The user logs in to Wordpress
  5. The user is redirected to https://discourse.example.com/g/private_group
  6. The user sees private_group because they are now logged into Discourse via DiscourseConnect and they are a member of private_group.

Is that currently the case?

Scenario 2

  1. A user is on your Wordpress site and is logged in to Wordpress
  2. The user clicks a link on Wordpress in the format https://discourse.example.com/session/sso?return_path=/g/private_group
  3. The user is prompted to login to Wordpress

Is that currently the case?

3 Likes