DEV Community

Discussion on: The Ultimate Guide to handling JWTs on frontend clients (GraphQL)

Collapse
 
tkdaj profile image
tkdaj

If you only store your JWTs in memory, how do you deal with a user refreshing the browser? In my application I would like a user to be able to refresh the browser and automatically be logged back in.

Thread Thread
 
vladimirnovick profile image
Vladimir Novick

I covered that later in blog post. Short answer - refresh tokens and silent refresh. Please check the full blog post here: blog.hasura.io/best-practices-of-u...