React + Node Expert -- 3
Budget: $10 – $30 USD
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
Thanks
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
Thanks