Lesson 10 of 14 · Quality and production
Authentication: hashed passwords, sessions or JWT, secure cookies
Objective
Let a riad manager or a delivery app courier log in without ever putting passwords at risk: store them hashed, verify them correctly, then recognize the user on the following requests with a session or a token, carried in a well-configured cookie.
This lesson is part of the full course
Unlock Node.js: Build and Ship an API to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.