i want to get all group roles from access token or id token, i have tried to add custom claims but could find any example of “okta-expression-language” which is getting this information.
i want to add custom claim called “group_roles”
what is the expression for claim value?
e.g
user.groups.roles
appuser.groups.roles
user.groups.stream().filter(group → group.active).findFirst().orElse(null).name
Can you clarify what you mean by Group Roles? Is that referring to a group attribute?
Group Roles means all the roles that group have
e.g
“Group 1” have two roles “ManagerRole” and “SubAdminRole”