Specifying group membership
If the discourse connect overrides groups option is specified, Discourse will consider the comma separated list of groups passed in groups.
Aside from groups, you may also specify group membership in your SSO payload using the add_groups and remove_groups attributes regardless of the discourse connect overrides groups option.
add_groups is a comma delimited list of group names we will ensure the user is a member of.
remove_groups is a comma delimited list of group names we will ensure the user is not a member of.