Hey, This is my concern about login
Currently, in the project the user logs in with it's username and password, it gets an access token only. When the access token expires the user is not authorized anymore.
In the task I want to have a refresh token, which will be stored in the cookies. When user loggs in, it gets the Access token and the refresh token. When the access token expires the client side sends a request (with the refresh token in the cookies) for a new "access token". If the refresh token is valid the server responds with a new access token and a new refresh token.
- type vfrewq before your praposal then after I'll check your praposal
25 pekerja bebas membida secara purata $27 untuk pekerjaan ini
vfrewq Hi greetings of the day I am a Experienced Full Stack Developer based out in Chennai,India. I am Ready to start now. Thanking you, All the very best, Cheers!!! Saurav
I have a good understanding of the issue you are facing,and its in my tech stack ,your issue is coming from the model, im good working with jwt and bcrypt