title: How can I make sure a JWT doesn't expire on the user
body: <p>So I'm able to create aa JWT on login using flask-jwt-extended</p>
  <p>I set the expiration to 5 minutes.
  So I have routes in my VueJS app and when they are called(beforeeach) I make a call to &quot;/api/check&quot; to make sure that the token is valid.</p>
  <p>All other API calls are via axios to the backend.</p>
  <p>What I'm not understanding that since the cookie is HTTP only I can't check the expiation with javascript...does that mean I have to ping the backend every X minutes along with with every axios call to refresh the cookie then make the actual API call?</p>
  <p>Seems like a lot of overhead.
  Lots of code out there on the nuts and bolts however not much on the actual steps behind the issue I'm having...understanding...</p>
  <h2>Thanks</h2>