Requesting Custom Fields on your JWT Token
Use Case
{
"username": "helloworld",
"role": "admin"
}The API
Requesting Custom Claims on your Access TokenLast updated
Let's say you have a user with attributes:
{
"username": "helloworld",
"role": "admin"
}And you want to include this in Cotter's Access Token so that you can quickly access them in your API Middleware, you can now do this by calling an API request.
To do this, checkout the API reference at
Requesting Custom Claims on your Access TokenLast updated