Pawel · Auth Mastery

Auth from Scratch
Confidence Checklist

understand it · build it · explain it · know what breaks it
0%
mastered

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.

JWT (HS256 / RS256) bcrypt & Argon2 Refresh Token Rotation httpOnly & SameSite Cookies FastAPI OAuth2 & RBAC XSS, CSRF & Redis Blocklist
understand
build
explain cold
know what breaks it
SECTION 01

Foundational Concepts

understand before building · 0/12

Cover the tradeoffs behind sessions versus JWT, how token signatures really work, and why modern password hashing choices matter for real systems.

explain
explain
understand

SECTION 02

Build It From Scratch

no copy-paste allowed · 0/17

Implement signup, login, refresh rotation, protected routes, and safer frontend token storage so the auth flow works end to end without tutorial magic.

SECTION 03

What Breaks It

the interview goes here · 0/13

Study the attacks, implementation bugs, and production edge cases that separate a demo auth system from a secure one.

SECTION 04

Explain It Cold

the real confidence test · 0/8

Pressure-test the system by explaining the architecture, tradeoffs, and scaling decisions without notes or references.

FSRS Review

0 0 0
Session: 0

All caught up for now!

Your FSRS deck is empty. Enroll 10 high-yield 80/20 cards or click "+ Add to FSRS" on any question.

Backup, Export & GitHub Gist Sync

Local-First Exports (IndexedDB + Progress)

Stored locally in IndexedDB (0 notes · 0 FSRS cards).

GitHub Gist Sync (Private Cloud Backup)

Authenticate with a GitHub Fine-Grained Token (Gists: Read & Write) to sync your notes, FSRS cards, and progress across devices in a private Gist (os-pawel-study-sync.json).