kjwt
kjwt copied to clipboard
How to add claim with nested structure?
Hello!
I'd love to generate a JWT with a nested structure, e.g.:
{
"realm_access": {
"roles": [
"default-roles-my-realm",
"offline_access",
"uma_authorization"
]
}
}
Could you please give me guidance on how to achieve this?
Cheers! Michal
Any updates on this, I'd like to be able to do this as well, e.g.:
{
"iss": "57246542-96fe-1a63-e053-0824d011072a",
"iat": 1528407600,
"exp": 1528408800,
"aud": "appstoreconnect-v1",
"scope": [
"GET /v1/apps?filter[platform]=IOS"
]
}