SF-FCC / nextstep

0 stars 6 forks source link

Token reset #127

Open demiacle opened 5 years ago

demiacle commented 5 years ago

Tokens expiry should be reset on every request

xChristianZx commented 5 years ago

For reference: https://stackoverflow.com/questions/26739167/jwt-json-web-token-automatic-prolongation-of-expiration https://auth0.com/docs/tokens/refresh-token/current

demiacle commented 5 years ago

proposal- set hard expiration to 48h and tackle refreshing at a later time