KindeK
Kinde12mo ago
13 replies
hsdmiranda

Why my permissions are not sent in the token?

This is the token when I decode on the jwt.io:
{
  "aud": [],
  "azp": "d074dab197af478eaa9afbdd11bf0db4",
  "exp": 1739433708,
  "iat": 1739347308,
  "iss": "https://auth.bookengo.com",
  "jti": "bb905ce1-4709-4f6c-93f6-2be0215d17f9",
  "scp": [
    "openid",
    "profile",
    "email",
    "offline"
  ],
  "sub": "kp_077e8febb35c4aa7aba57fe445c27dd2",
  "x-hasura-external-org-id": "external_1",
  "x-hasura-org-code": "org_9fb9fa12f3a",
  "x-hasura-org-name": "Bengo",
  "x-hasura-permissions": [
    "view-organizations",
    "organizations:impersonate"
  ],
  "x-hasura-roles": [
    {
      "id": "0194421f-b9e2-4279-f158-bb6c4c04a664",
      "key": "system-admin",
      "name": "system-admin"
    },
    {
      "id": "01944220-b3b1-e0b9-5f39-68b2ec5bfc2d",
      "key": "org-admin",
      "name": "org-admin"
    }
  ]
}
Was this page helpful?