title: JWT - storing token in cookies
body: <p>I understand there are many differences / pro's and cons of storing the token as a cookie vs using localStorage. This question is an ask on the actual implementation of storing it in a cookie.</p>
  
  <p>I'm confused, because if the token is stored inside a cookie, the user will always be validated, making the use of a token worthless. The token will always be associated with the server side session data.</p>
  
  <p>Can someone explain the implementation details?</p>