Have you looked into adding users to Discourse groups with the add_groups
and remove_groups
SSO parameters? For users who exist on your SSO provider site, you can create Discourse accounts for them, and add them to Discourse groups by making an API call to the sync_sso
route. There are some details about setting that up here: Sync SSO user data with the sync_sso route. We can give you more details about how to set this up if it seems like an approach that could work for you.
1 Like