rest
rest copied to clipboard
Token expiration
Hi Diego
Is it possible to configure the token expiration as it look like they never expire. If so then can you provide the instruction on how to do it?. It will nice to have the option to configure it when setting up the project at beginning and also have the option to require a new token for every call the API.
Regards.
Hi, i think you can configure it inside the /src/services/jwt/index.js. There is a method called sign and according to the documentation you can provide "expiresIn" param.