~/talk

Moving application auth to the edge

Talkat Future Frontend 2023 · 2023-06-08..06-09· [security]
slides:none on file

Claims moving application auth entirely to the edge by handling login/signup before requests reach the app and storing user state per-region. Implements a demo QR-app history feature using Cloudflare Workers and Durable Objects, performs a Discord OAuth callback, writes user records to a durable object near the user, sets an auth cookie + X-User header and proxies requests to the app. The demo builds, persists, and serves user data at low latency and the flow works end to end.

AI-written summary · about

  1. 0:00Introduction
  2. 1:53Why auth at edge matters
  3. 3:19Traditional auth challenges
  4. 7:12Durable objects for auth
  5. 8:34Architecting auth before app
  6. 9:59Live coding auth flow
  7. 12:08Implementing login and OAuth
  8. 15:02Handling OAuth callback
  9. 16:32Storing user data in durable objects
  10. 18:17Setting secure auth cookies
  11. 20:07Reading auth cookies
  12. 21:54Integrating auth middleware
  13. 23:01Demo and conclusion
~/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.