Referring to the custom federated claims from this answer: Groups_claim field is deprecated
And the doc here: Configure custom claims for app integrations | Okta Classic Engine
The answer from above says that using federated claims “allows you to configure custom claims at the application level and does not require use of a custom authorization server”.
I am unable to access a custom groups claim using the example here: user.getGroups({'group.type': {'OKTA_GROUP', 'APP_GROUP', 'BUILT_IN'}})).![name]
If I add custom claims with hard coded values wrapped in single quotes, those claims automatically show up in the /userinfo response. However, any claims that use any other expression do not show up in the /userinfo response:
What is the correct way to retrieve these custom claims from the application?


