I'm trying to configure the claims for an authorization server and wanted to included the list of groups a user is assigned to. How would that expression look? Is there another way to add group assignments of a user to as a claim?
You can use this function anywhere to get a list of groups of which the current user is a member, including both user groups and app groups that originate from sources outside Okta. 1)If you use authorization code flow, return both access_token and id_token, id_token claim will not contains groups, only bearer + access_token using user endpoint will contains groups 2)if you use implicit flow, request id_token alone it will contains the group, require access_token alone it will also contains groups. 3)Use your org or authorization server should both work in the same way. 4)you need OIDC APP->SignOn Tab->Groups claim groups Regex .*