Let's talk about JWT
summary
Explains JWT structure (header, payload, signature) and shows live Python decoding with PyJWT, including an expired-token error and verifying an RS256 token by loading an RSA public key; cites RFC 7519 and RFC 7517 and mentions JWK endpoints for key distribution. Demonstrates that symmetric HMAC uses a shared secret while asymmetric uses a key pair, warns against localStorage and embedding sensitive data, and points to jwt.io and the JWT Handbook for debugging and deeper reading.
AI-written summary · about
