DEV Community

Discussion on: Handling Authentication With JWT

Collapse
 
stevemullen profile image
SteveMullen

This is a super helpful article - thank you.

Question - you say "storing JWT in sessionStorage Container is advised". If using sessionStorage, how do you pass the jwt on page load - like when a user clicks a link in the nav to go to a new page?

I know this will work if I store the jwt as a cookie, but is there some way to make this work with sessionStorage?