Usage
To authenticate an HTTP request using a JWT, include theAuthorization header.
Getting a Token
To get a JWT token, you need to complete three steps:1
Create an EmailValidationToken
2
Confirm the EmailValidationToken using the nine-digit code sent to the specified email address
3
Use the confirmed EmailValidationToken to obtain an access token and a refresh token
Token Rotation
As mentioned above, the access token must be refreshed every 20 minutes. To get a new pair of tokens, use the refresh token.Refresh tokens are valid for one month and are single-use.