loading...

re: 🛑 You don't need passport.js - Guide to node.js authentication ✌️ VIEW POST

FULL DISCUSSION
 

Hi there,
Thanks for your article.

Why would you save the salt in database? It's not used anywhere after saving as argon2 saves it on its own.

I have also implemented refresh tokens to minimize impact of tokens steal and restrict access to only one device.

Thanks

code of conduct - report abuse