# SSO 配合角色转换为组

**URL:** <https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272>\
**Category:** Feature\
**Created:** [2020年一月21日 08:16 UTC](https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272 "2020-01-21T08:16:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hartz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hartz/32/167110_2.png) [@hartz](https://meta.discourse.org/u/hartz)\
**Post date:** [2020年一月21日 13:19 UTC](https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272/2 "2020-01-21T13:19:03Z")

</div>

根据 [https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045，您的](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045%EF%BC%8C%E6%82%A8%E7%9A%84) SSO 提供商可以包含 `groups`、`add_groups` 和/或 `remove_groups` 键，以便根据您应用中的角色修改 Discourse 的群组成员资格（请参阅该帖顶部标题为 **指定群组成员资格** 的部分）。

---

_[View the full topic](https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272)._
