rest icon indicating copy to clipboard operation
rest copied to clipboard

Token expiration

Open mveron opened this issue 6 years ago • 1 comments

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.

mveron avatar Sep 15 '18 18:09 mveron

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.

mpodriezov avatar Aug 31 '19 14:08 mpodriezov