title: Is it correct to store JWT (gem 'devise-jwt') in LocalStorage? If yes, how can i clear LocalStorage if token expires?
body: <p>When the token expired, this token is still in localStorage and I cannot do anything. Will be good, if I can automatically clear localStorage when the token expires?</p>
  <p><a href="https://i.stack.imgur.com/bF7TX.png" rel="nofollow noreferrer">jwt localStorage</a></p>