Adicione novos grupos via SSO

Estou usando SSO no meu Discourse. O que eu quero é que, se eu passar alguns grupos em add_groups, por exemplo grp1,grp2,grp3:

Vamos supor que grp1 e grp3 existam, mas grp2 não exista. Eu gostaria que o Discourse criasse o grp2 e adicionasse o usuário atual a ele. É possível?

1 curtida

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 curtida

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 curtidas

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