Creating a JWT testing token manually.

You can generate a testing token at jwt.ioarrow-up-right with your settings and secret, and use Postman for testing it.

In the JWT payload, only the iat (issued at) and exp (expiration time) fields are required.

Example: Token expires Sep 2024
{
  "iat": 1694080518,
  "exp": 1725702918
}

In the payload, the expiration date is key and should be specified as an integer (an epoch). There are no other fields required, so the “issued at” and “expiration time”-fields are sufficient.

Last updated