<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00009hW6XjCAKOkta Classic EngineSingle Sign-OnAnswered2023-09-28T15:43:54.000Z2023-09-27T09:05:34.000Z2023-09-28T15:43:54.000Z

StefanB.28950 (Customer) asked a question.

OIDC /userinfo endpoint not containing groups

We are trying to retrieve group memberships of the authenticated user via OIDC/authorization code flow. Reading through lots of issues regarding this topic, I want to clarify right from the start:

  • We do NOT want the "groups" claim inside ID or access token. We are NOT able to configure custom authorization servers or claims due to our limited subscription.
  • We are also NOT able to configure the "groups claim filter" inside the app, as we are creating lots of applications via API, here we see no possibility to specify the groups claim filter. Clicking manually through all the applications is not applicable for us.

 

Steps for reproduction:

  • Retrieve a OIDC authorization code with scopes "openid email profile groups"
  • Exchange the code for an access token
  • Retrieve user infos with the access token in the GET request on the /userinfo endpoint

The response won't include the groups claim, although the docs clearly state that the endpoint will deliver all userinfo.

 

For me, this clearly looks like a bug. Any suggestions?


This question is closed.
Loading
OIDC /userinfo endpoint not containing groups