Requesting Custom Claims on your Access Token
You can now add your own custom fields on the access token that your receive from Cotter
Use Case
{
"username": "helloworld",
"role": "admin"
}Request Custom Claims on Cotter's Access Token
Headers
Name
Type
Description
Request Body
Name
Type
Description
Example Request
Persisting the Custom Claims
Try it out at JWT.io
Request Body with the Original Access Token
Response with the new Custom Attributes
Last updated