Open greenpau opened 2 years ago
If userinfo contains field that ends either with groups or roles, then extract the values to roles.
userinfo
groups
roles
"roles": [ "authp/admin", "authp/user" ], "sub": "00ua6qak3pEYegVb24x6", "userinfo": { "name": "Paul Greenberg", "zoneinfo": "America/Los_Angeles" } }
If
userinfo
contains field that ends either withgroups
orroles
, then extract the values toroles
.