# Obtain groups from Org Authorization Server

**URL:** <https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674>\
**Category:** OAuth/OIDC\
**Created:** [December 17, 2025, 7:51pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674 "2025-12-17T19:51:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jclaxton1](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jclaxton1](https://devforum.okta.com/u/jclaxton1)\
**Post date:** [December 17, 2025, 7:51pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/1 "2025-12-17T19:51:04Z")

</div>

Hi,

I’m trying to integrate my SPA with Okta. My app will use the user’s groups for internal authorization. I’m trying to use the org authorization server to keep the configuration as simple as possible for my clients. My app uses the auth code flow, and PKCE. I understand that this flow will return ‘thin’ tokens, and I need to call the /userinfo endpoint. However, when I do that, I still don’t get the groups back.

The scopes in my initial login request are “openid email profile offline\_access groups”. I’ve confirmed these scopes are reflected in the access token.

My groups filter is ‘matches regex \* ’ and I have a group assigned to my app.

Result from /userinfo:

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/8/84ac699055c8c1cebfd1cefb10b3beff1ba4e5f9.png)

Is there any other configuration required to get groups from the org auth server?

Thank you,

John

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [December 17, 2025, 9:16pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/2 "2025-12-17T21:16:59Z")

</div>

Can you provide a screenshot showing how and where you configured your groups claim?

---

<div class="post-metadata">

**Author:** ![jclaxton1](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jclaxton1](https://devforum.okta.com/u/jclaxton1)\
**Post date:** [December 17, 2025, 9:28pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/3 "2025-12-17T21:28:31Z")

</div>

Sure, it’s here:

 ![image](https://global.discourse-cdn.com/oktadev/original/2X/9/9456699cb4c2da583c7a4935edcdf371c152e0ea.png)

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [December 17, 2025, 10:55pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/4 "2025-12-17T22:55:49Z")

</div>

Can you try changing your filter to `.*` instead of `*`?

---

<div class="post-metadata">

**Author:** ![jclaxton1](https://avatars.discourse-cdn.com/v4/letter/j/c4cdca/32.png) [@jclaxton1](https://devforum.okta.com/u/jclaxton1)\
**Post date:** [December 18, 2025, 8:44pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/5 "2025-12-18T20:44:39Z")

</div>

Ha, of course that was it! Lost multiple hours to one missing dot 😮‍💨 .

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [December 19, 2025, 8:45pm UTC](https://devforum.okta.com/t/obtain-groups-from-org-authorization-server/34674/6 "2025-12-19T20:45:37Z")

</div>

Closed on December 19, 2025, 8:45pm UTC

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