Auth
2026-03-01
I used to copy-paste JWT auth without really thinking about it. I rewrote it, checking how each piece worked along the way.
Things I'd been waving off with "it works, so it's fine" actually had real choices behind them. Refresh token handling in particular only clicked once I understood it as a trade-off between security and convenience — after that, I could implement it with confidence.