# 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:** 6

<div class="post-metadata">

**Author:** ![mattdm](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mattdm/32/216484_2.png) [@mattdm](https://meta.discourse.org/u/mattdm)\
**Post date:** [January 11, 2021, 11:11pm UTC](https://meta.discourse.org/t/does-sso-overrides-groups-work-with-oauth2/175606/6 "2021-01-11T23:11:49Z")

</div>

So, we have some very early potential patches for implementing `groups` with OAuth2:

[https://github.com/puiterwijk/discourse/commit/1bd570e7ef9982dfb91becf371a056066f3cfc08](https://github.com/puiterwijk/discourse/commit/1bd570e7ef9982dfb91becf371a056066f3cfc08)

[https://github.com/puiterwijk/discourse-oauth2-basic/commit/a9a6bcb15d17c48404d356e6b55d77628213538e](https://github.com/puiterwijk/discourse-oauth2-basic/commit/a9a6bcb15d17c48404d356e6b55d77628213538e)

⚠_ **However** _ since we’re using the hosted plan we don’t have a quick staging environment in which to test them, so they’re completely theoretical. Will try to get such an environment set up sometime soon but it is literally no one’s day job, so if it happens that anyone else could help review and test these that would be _amazing_.

---

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