<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
0D54z00007GU9CLCA1Okta Identity EngineAuthenticationAnswered2021-11-03T06:05:27.000Z2021-11-02T22:42:09.000Z2021-11-03T06:05:27.000Z
Getting all of a users groups by group type

Hi there,

 

In Security/API, we are trying to add an additional claim which provides us with all of a user's groups that they are in. On the authorization server, in claims, we tried the expressions "user.getGroups({'group.type': {'APP_GROUP'}})" and appuser.getGroups({'group.type': {''APP_GROUP'}}) and we did not see the new claim come across in our payload. We were able to verify that "getFilteredGroups({'00ga6w786xQdeTyzQ1d6

'}, "group.name", 100)" works, but this does not fit our criteria since we want to get all of a users groups based on the group type of APP_GROUP and not provide specific ids. Is there method available that will allow us to just stick this onto the payload that gets or do we have to use Groups API?


This question is closed.
Loading
Getting all of a users groups by group type