Casdoor is built on OAuth and utilizes tokens as users' OAuth tokens.
The following are the available token fields in Casdoor:
ExpireIn(Tokens will expire in hours)
Scope(Scope of authorization)
After logging into the application, there are three options to generate a JWT Token:
The options are as follows: JWT will generate a token containing all User fields, JWT-Empty will generate a token with all non-empty values for the user, and JWT-Custom will generate a token containing custom User Token fields (you can choose attributes in the Token fields).