Create
You can either create the token with your favourite JWT library or you can rely on our REST API to create it for you. Note that if you need to create a lot of tokens at the same time, you may want to use a JWT library, since our API is rate-limited and you cannot execute thousands of requests per second.
Note the below examples are just for guidance - you are free to use any JWT library you are comfortable with or which your frameworks support. As you can see on the official JWT site - there are plenty of available libraries for each possible language.
The Java example is using the popular open source java-jwt library.
The PHP example doesn't use external libraries, so it is a little bit more verbose.
Last updated