Closed decooliveira closed 7 years ago
There is no token generation functionality in this library. It relies on jsonwebtoken to perform validation. That library also provides the ability to sign (generate) tokens.
If you read the documentation for that library you'll see that when signing a token you can supply the expiresIn parameter to control expiration.
Marking as closed. Invalid label only because this library does not provide any of JWT generation functionality.
Is there a way to set expiring time when generating a token ? I realized we could ignore expiration but I couldn't find a way to set that expiration.