~/talk

ASP.NET Core Authentication - The Dirty Details

Talkat NDC Copenhagen 2026 · 2026-06-01..06-04· [security, web-platform]
slides:none on file

Deep dive examines ASP.NET Core internals: the tiny IAuthenticationHandler surface (initialize/authenticate/challenge/forbid), how options and authentication properties get serialized into state for remote flows, and how the remote authentication handler uses a correlation cookie (32 random bytes + base64) to prevent CSRF. Shows addScheme plumbing, cookie session signing, claims transformation running on every request, a full local facial‑recognition auth provider and a fake remote identity provider, and an API‑aware cookie decorator that returns 401 instead of redirects.

AI-written summary · about

  1. 0:00ASP.NET Core Auth intro
  2. 1:04Auth handler basics
  3. 15:56Sign-in/out extensions
  4. 25:41Remote auth deep dive
  5. 33:42Policy schemes config
  6. 41:28Custom auth providers
  7. 51:42Identity provider impl
  8. 55:55Claims transformation pitfalls
  9. 58:30API auth handling
  10. 1:01:08Q&A
~/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.