TL2 welcome message sent every time on SSO login

Hey there,

Thanks for sharing this bug! I’ve attempted to reproduce this bug but am not able to do so locally, here’s what my setup looks like:


(Wordpress)

  • Set up wordpress user “Steaky” with email steaky@cat.com
  • add wpdc_custom_sso_params to set cats group to all users who sign in with $params['groups'] = 'cats';

(Discourse)

  • Create a user “Steaky” with email steaky@cat.com
  • Make Steaky trust_level_3 legitimately (not locked)
  • create group “cats” and set “Trust level automatically granted to members" to 2 for “cats”

Wordpress & Discourse connected :ok_hand: also :ballot_box_with_check: Sync user data.

(Discourse)

  • log Steaky in, gets redirected to Wordpress and signs in, redirected back to Discourse
  • (confirm that “cats” is set to Steaky)
  • Steaky does not see welcome message

^ repeat above with SiteSetting.discourse_connect_overrides_groups, same result.


I suspect you’ve got a more detailed setup going on. It would be great if you could share more details about the setup of your affected users:

  • Which other “Discourse Connect” site settings do you have turned on?
  • Are your affected users separately joining groups which may grant them certain trust levels?
  • Are your affected users trust level locked? What kind of groups are they in?
  • any other information that would be useful

Thanks!

4 Likes