~/talk

Safeguard your precious API endpoints built on FastAPI using OAuth 2.0

Talkat PyCon US 2025 · 2025-05-16..05-18· [security, web-platform]
links:none on file
slides:none on file

Claims that OAuth2 plus OpenID Connect makes FastAPI endpoints secure using concrete patterns and tools not platitudes: authorization code flow with PKCE, short 5‑minute access tokens, and token validation either locally (JWT + public keys) or remotely (introspect). Demo pairs a React SPA with a FastAPI resource server, uses FastAPI HTTPBearer and offlib to decode tokens, and authenticates via Octa and Ozero; the demo succeeds. Presenter cites startling numbers: >80% breaches are identity attacks, 1.9B sessions stolen, ~290 days to contain a breach.

AI-written summary · about

  1. 0:00Securing FastAPI with OAuth
  2. 3:55OAuth 2.0 history
  3. 8:09OAuth 2.0 vs OpenID Connect
  4. 15:09FastAPI security features
  5. 17:17Live demo OAuth endpoints
  6. 23:55Best practices secure APIs
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.