DEV Community

Discussion on: How to securely store JWT tokens.

Collapse
 
gkoniaris profile image
George Koniaris

Hi David, this is specific to sessionStorage. If you mean traditional sessions through cookies, of course, they are able to restore them, actually, they never lose them. Based on MDN sessionStorage is cleared when you close the tab or the browser.