Authentication in 2026 — Passkeys, OAuth 2.1, OIDC, and What to Actually Ship

A practical guide to authentication in 2026 — passkeys as the primary factor, OAuth 2.1 + OIDC for federation, sessions vs JWTs, the right stack for FastAPI / Django / Hono / Next.js, and the security mistakes I keep seeing.

April 29, 2026 · 9 min · 1881 words · Manvendra Rajpoot

JWT Authentication in FastAPI: A Complete Walkthrough

An end-to-end JWT auth walkthrough for FastAPI: bcrypt password hashing, access + refresh tokens, dependency-injected current user, and how to avoid common pitfalls.

April 28, 2026 · 8 min · 1516 words · Manvendra Rajpoot