~/talk

OAuth2 and OpenID Connect for Single Page Applications

TalkinDutchat OWASP Global AppSec Virtual 2020 · 2020-10-22..10-23· [security, web-platform]
slides:none on file

Covers secure OAuth 2.0/OpenID Connect patterns for Single Page Applications: move away from implicit flow to Authorization Code Flow with PKCE, use short-lived access tokens (5–10 minutes), and implement browser-safe refresh logic including refresh token rotation. Demonstrates a restaurant-review SPA using an identity provider, recommended SDKs, and a Backend-for-Frontend proxy to keep secrets out of the browser while detecting and invalidating stolen refresh tokens.

AI-written summary · about

  1. 0:00OAuth2 and OIDC intro
  2. 5:03Implicit flow in SPAs
  3. 8:55Authorization code with PKCE
  4. 12:49OAuth2 and OIDC examples
  5. 19:39Q&A
  6. 23:13Refresh token risks
  7. 28:14XSS and token protection
  8. 32:09Storing tokens securely
  9. 35:20Summary and tips
~/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.