Neue Gruppen über SSO hinzufügen

Ich verwende SSO auf meinem Discourse. Mein Ziel ist es, dass Discourse bei Angabe bestimmter Gruppen in add_groups (z. B. grp1,grp2,grp3) – falls diese noch nicht existieren – automatisch erstellt werden und der aktuelle Benutzer ihnen hinzugefügt wird. Nehmen wir an, grp1 und grp3 existieren bereits, aber grp2 nicht. Ich möchte, dass Discourse grp2 erstellt und den aktuellen Benutzer hinzufügt. Ist das möglich?

1 „Gefällt mir“

I have this use case too, I am trying to automatically add my AD users to groups named after the “department” field in our directory but it only works if i generate all the groups first. It would be very cool if we had a “sso can create groups” option in Discourse settings that made a new group with default settings. I mainly want to use it for easily finding all the users belonging to each department at work :slight_smile:

1 „Gefällt mir“

I recommend using our API to create the groups, it feels super messy trying to add this to the SSO protocol. Too many bad things can happen.

5 „Gefällt mir“

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.