~/talk

OAuth2, OpenID: live-coding SSO, from first principles

Talkat Voxxed Days CERN 2025 · on Wednesday, 2025-01-15· [security, web-platform]
slides:none on file

Live-codes a minimal SSO: a Java Spring Boot web app sends users to Google’s authorization endpoint from accounts.google.com/.well-known/openid-configuration, receives a one‑time authorization code, POSTs that code plus client_id/client_secret and redirect URI to the token endpoint, and extracts the ID token (JWT) payload to populate a session. Uses Java Rest client and ObjectMapper, then shows the production alternative with Spring Security and the spring-boot-starter-oauth2-client. Demo succeeds end-to-end but explicitly skips JWT signature verification.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24OAuth2 and OpenID Connect
  3. 7:46OAuth2 entities and flow
  4. 10:37Demo setup
  5. 12:02Java demo app
  6. 13:24OAuth2 login button
  7. 21:38Callback and code exchange
  8. 23:24Code for ID token
  9. 28:44ID token data
  10. 35:51Spring Security OAuth2
  11. 39:26Summary and Q&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.