-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I was testing the extension and found that roles, groups and permissions are not necessarily included on app_metadata.
If one selects the fields on the Token Contents section, then they are included like this:
{ sub: '', iss: '', ... , roles: [], groups: [], permissions: [], }
if one selects the fields on the Persistence section, then they are included like this:
{ sub: '', iss: '', ... , app_metadata: { authorization: { roles: [], groups: [], permissions: [], }, } }
On both cases, it's important to note the one must include roles, groups, permissions or app_metadata on the token's scope on the client app, otherwise none of them are included on the token.
Metadata
Metadata
Assignees
Labels
No labels