Automatically assigning users to a group


I have a discourse-hosted instance of a forum that I integrated with a website. On our website, we have users with different membership levels that have access to different content. We would like to be able to pass along some type of information on login that tells discourse to add the user to a group. I saw some options about setting a default level or doing something based on provided email, but I don’t think those will work. Given the limited amount of information we’re allowed to pass to discourse via the SSO, I’m not entirely sure this is possible but any tips would be appreciated.

If this isn’t possible, can anyone recommend any apps that might do this?



Not yet, but this is a feature I would like to have


This is now supported, read our SSO documentation for full info.

You can assign users to groups or reset the list of groups a user belongs to direct from the SSO payload.