Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add claim with nested structure? #31

Open
Michal-Kucera opened this issue Jan 22, 2023 · 1 comment
Open

How to add claim with nested structure? #31

Michal-Kucera opened this issue Jan 22, 2023 · 1 comment

Comments

@Michal-Kucera
Copy link

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

@vewert
Copy link

vewert commented Jun 12, 2023

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"
    ]
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants