juanifioren/django-oidc-provider

JWT toekn does not include list of teams

Closed this issue · 0 comments

The JWT token that I get when decoded looks like this. why is the teams empty?

{
  "iss": "https://********",
  "sub": "****@*******.nl",
  "aud": "921453",
  "exp": 1721838204,
  "iat": 1721834604,
  "auth_time": 1721834598,
  "nonce": "************-Nll0",
  "at_hash": "******",
  "name": "Alireza",
  "given_name": "Alireza",
  "family_name": "Zerafati",
  "nickname": "****@*******.nl",
  "preferred_username": "****@*******.nl",
  "is_admin": true,
  "permissions": {
    "OIDC-login": [
      -1
    ]
  },
  "email": "****@*******.nl",
  "teams": {}, //<- why is this empty?
  "orgs": {},
  "bknd": "oidc"
}