DEV Community

Discussion on: How to Refresh Json Web Tokens (JWT) using Axios Interceptors

Collapse
 
franciscomendes10866 profile image
Francisco Mendes • Edited

Thanks for the feedback! Regarding the value of maxAge, in the article I put ten seconds but I usually use a value close to twenty. This is because http requests may have a timeout (maybe not the best word to describe it) which may be longer than maxAge value.