Backend, Node.js, NestJS & APIs16 min readIntermediate
Implementing Secure JWT Authentication in Node.js
Access and refresh tokens done properly: rotation, reuse detection, cookies and password hashing in Express.
2 articles in this category.
Access and refresh tokens done properly: rotation, reuse detection, cookies and password hashing in Express.
Validate once at the boundary, throw typed errors, and return one consistent error shape everywhere.