Authentication flow
Unanswered
Black Caiman posted this in #help-forum
Black CaimanOP
Hi Everyone, i have newbie question as i am still new to nextjs, so currently i am building application where the next app call my backend to get jwt token after authentication and i am saving it in cookie http only and all fine, but my main problem where i have to save user data that i got it either the user login or if the user make a reload so i called the backend to get the data using the token in the cookie
3 Replies
Bighead carp
you do know how to send the access token with the api calls right?
Black CaimanOP
thats not my issue, my issue where to sustain user data in cookies or store , context i am looking for best practice
Turkish Angora
hi