Authentication and authorization for Backend Developers
Authentication proves who a user is and authorization decides what they may do.
Stage: APIs and auth · Part of the Backend Developer roadmap · Last reviewed 19 November 2026
What to learn in Authentication and authorization
- Sessions vs JWT
- OAuth 2.0 basics
- Password hashing with bcrypt
Authentication and authorization interview questions
Where should you store a JWT in a browser?
Prefer an HttpOnly, Secure cookie, because localStorage is exposed to XSS attacks.
Where Authentication and authorization fits in the Backend Developer roadmap
Authentication and authorization belongs to the APIs and auth stage. Design APIs other people can rely on.
Other units in this stage
Back to the full Backend Developer roadmap