# Does \`sso overrides groups\` work with Oauth2?

**URL:** https://meta.discourse.org/t/does-sso-overrides-groups-work-with-oauth2/175606
**Category:** SSO
**Created:** [January 9, 2021, 4:08pm UTC](https://meta.discourse.org/t/does-sso-overrides-groups-work-with-oauth2/175606 "2021-01-09T16:08:48Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 9, 2021, 7:34pm UTC](https://meta.discourse.org/t/does-sso-overrides-groups-work-with-oauth2/175606/5 "2021-01-09T19:34:48Z")

</div>

> [@mattdm](#):
>
> Is this limitation intentional or it just not implemented?

The setting uses a separate code path from what’s used with OAuth2 logins. Syncing groups via OAuth2 hasn’t been implemented. Being able to sync Discourse groups with groups from an external site has a lot of use cases with Discourse, so hopefully it’s something that can be implemented in the future. For now, your only option is to manage group membership via the API.

---

_[View the full topic](https://meta.discourse.org/t/does-sso-overrides-groups-work-with-oauth2/175606)._
