Authentication & API Security Roadmap Overview
Master web authentication from first principles: compare stateful sessions with stateless JWTs (HS256/RS256, exp/iat/sub/jti claims), implement bcrypt or Argon2 password hashing with constant-time comparison, build refresh token rotation with httpOnly SameSite cookies, protect FastAPI routes with RBAC, and defend against alg:none, XSS, CSRF, and token-reuse attacks.
Foundational Concepts
understand before building · 0/12Cover the tradeoffs behind sessions versus JWT, how token signatures really work, and why modern password hashing choices matter for real systems.
Build It From Scratch
no copy-paste allowed · 0/17Implement signup, login, refresh rotation, protected routes, and safer frontend token storage so the auth flow works end to end without tutorial magic.
What Breaks It
the interview goes here · 0/13Study the attacks, implementation bugs, and production edge cases that separate a demo auth system from a secure one.
Explain It Cold
the real confidence test · 0/8Pressure-test the system by explaining the architecture, tradeoffs, and scaling decisions without notes or references.