loading...

re: Remaining Stateless - JWT + Cookies in Node JS(REST) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: In the application state (eg: react state).

And when user close the browser? Of course, some applications (like banking) prefer to terminate user login, but on most applications, we need to keep user login after closing the browser and open it next time.

the http only cookie for the refresh token stays so you can always get the acces token accessing the refresh endpoint that will give you a new access and a new refresh token so no need to login again.

Code of Conduct Report abuse