SSO経由で新しいグループを追加

Discourse で SSO を使用しています。add_groupsgrp1,grp2,grp3 のようなグループを指定したいと考えています。

grp1 と grp3 は存在するが、grp2 は存在しない場合、Discourse が grp2 を作成し、かつ現在のユーザーをそのグループに追加することを希望します。これは可能でしょうか?

「いいね!」 1

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

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

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