Is the API at a point yet where you could add a user to (and remove them from) a group? This would be very useful for integration with other software where users need synchronized permissions across platforms. I tried researching couldn’t find any examples.
Sidenote: I think group mapping via SSO would be cool too, but doing it via API is probably more pertinent. As I understand, SSO would only add the groups (or whatever information) when the user logs in. They may stay logged in to Discourse indefinitely, but their permissions could change on the other side of a website more frequently. (I have membership-type sites in mind.) If an API was available for group management, accounts could be more accurately synced.