login-with-metamask icon indicating copy to clipboard operation
login-with-metamask copied to clipboard

JWT Cookie for auth

Open Linch1 opened this issue 3 years ago • 1 comments

I'm studying a bit about jwt and saw that as best practice is preferable to store the jwt into the cookies instead than on local storage due to security reason, would be great to have this implemented here. Just for learning prupose i link a guide that i used on how to implement it

https://dev.to/franciscomendes10866/using-cookies-with-jwt-in-node-js-8fn

Linch1 avatar Dec 04 '21 21:12 Linch1

Since this is a demo, I initially went with localstorage as the simplest way.

If anyone wants to do cookies, feel free to take on this issue.

amaury1093 avatar Mar 08 '22 11:03 amaury1093