In my Vue.js & Django Authentication for the Remember Me feature I've used a simple strategy. I didn't saved the user access token in a cookie when the Remember Me option was unchecked.
In React & Node.js Authentication I'm using a different approach. I'm creating a special cookie when the Remember Me option is unchecked and if I have an event listener in the Redux Store Provider which monitors when the user leaves the Vue.js & Django Authentication service. If the special cookie is saved, this means, the JWT token will be deleted.
In React & Node.js Authentication I'm using a different approach. I'm creating a special cookie when the Remember Me option is unchecked and if I have an event listener in the Redux Store Provider which monitors when the user leaves the Vue.js & Django Authentication service. If the special cookie is saved, this means, the JWT token will be deleted.
Category
🦄
Creativity