caduh

Posts tagged “jwt

Tiny explainers grouped by topic. Spend less time Googling, more time building.

Session Cookies vs JWTs vs PASETO

Three ways to carry auth state, three different tradeoffs. Here’s where session cookies, JWTs, and PASETO fit without stateless-auth cargo culting.

devauthsecurity

JWTs — Expiration, Rotation, and Revocation

Design access + refresh flows that are safe: short-lived access tokens, rotating refresh tokens with reuse detection, device-scoped sessions, and practical revocation strategies.

devsecurityauth