juanifioren / django-oidc-provider

OpenID Connect and OAuth2 provider implementation for Djangonauts.
http://django-oidc-provider.readthedocs.org
MIT License
416 stars 239 forks source link

JWT toekn does not include list of teams #422

Closed azerafati closed 1 month ago

azerafati commented 1 month ago

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