Requesting Custom Fields on your JWT Token

Use Case

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.

The API

To do this, checkout the API reference at

Last updated