Admin sso and group permissions


I have found behavior wherein my group memberships are disappearing. The scenario is that sometimes I add the “admin” parameter to my sso login for testing purposes. When I revoke admin afterwards, my group memberships are gone. Is this expected behavior? Perhaps there’s a flag somewhere that I can turn off that I haven’t found?



Are you passing the groups parameter in the DiscourseConnect payload? If you do we will add/remove groups automatically to ensure the user has the appropriate memberships.

1 Like

thank you for replying quickly. i am passing the groups parameter normally. but i found a special use case where my test user is bypassing this group insertion code, and that is probably causing the issue. thanks!

1 Like