# SSO with Roles translating to Groups

**URL:** <https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272>\
**Category:** Feature\
**Created:** [January 21, 2020, 8:16am 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:** [January 21, 2020, 1:19pm UTC](https://meta.discourse.org/t/sso-with-roles-translating-to-groups/139272/2 "2020-01-21T13:19:03Z")

</div>

Per [Setup DiscourseConnect - Official Single-Sign-On for Discourse (sso)](https://meta.discourse.org/t/official-single-sign-on-for-discourse-sso/13045), you could have your SSO provider include the `groups`, `add_groups`, and/or `remove_groups` keys to modify Discourse group membership based on the roles in your application (see the section in the top post there titled **Specifying group membership** ).

---

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