Next.js Discord

Discord Forum

setting signed in user based on JWT token

Unanswered
Poodle posted this in #help-forum
Open in Discord
PoodleOP
Hi, I currently created my own GraphQL backend to authenticate, it returns an access token. Based on that I want to retrieve my user but I don't know where to store the access token. When I store it in localstorage I can't access it before the page loads which is what I want to do. Where should I store the token?

0 Replies