- Does it cover when NOT to use JWT?
- Yes — prominently. Session cookies are usually simpler and safer for web apps. JWT shines for cross-service and stateless APIs, not for browser sessions.
- What about HS256 vs RS256?
- Covered. HS256 for same-service signing (fastest); RS256 for cross-service where only the issuer has the private key.
- Are there security do/don'ts?
- Yes — never trust alg:none, always set exp, prefer short lifetimes, watch for algorithm confusion attacks.
- What claims are standard?
- iss, sub, aud, exp, nbf, iat, jti — each explained with when to use them. Plus common custom claims patterns.