~/talk

The Art of Authentication for Web Apps

Talkat Build Stuff 2022 · 2022-11-09..11-11· [security, web-platform]
slides:none on file

Covers concrete OAuth2/OIDC mechanics: why OAuth replaces credential sharing, the authorization code flow with authorization code with PKCE, ID tokens as JWTs with three segments and RS256 signatures, and access tokens + scopes for APIs. Shows cookie-based sessions for same‑domain server apps, token storage in memory for SPAs, and using refresh token rotation (with reuse detection) to safely support long sessions despite ITP blocking third‑party cookies. Dates and examples include OAuth 1.0 (Dec 2007) and the HireMe/MyCal scenario.

AI-written summary · about

  1. 0:00Introduction to authentication
  2. 2:55Digital identity and authentication
  3. 4:40Why OAuth was created
  4. 7:11OAuth 2.0 delegated authorization
  5. 12:12OpenID Connect for authentication
  6. 14:18JSON Web Tokens explained
  7. 21:44Access tokens and scopes
  8. 28:25Authentication in traditional web apps
  9. 30:52Single page app authentication
  10. 37:56Token use in JavaScript apps
  11. 42:35Closing and resources
~/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.