~/talk

OAuth2, OpenID: SSO under the hood

Talkat Voxxed Days Zürich 2025 · on Tuesday, 2025-03-25· [security]
slides:none on file

Builds a minimal SSO flow in Java: constructs the Google authorization URI, performs the redirect, receives an authorization code, POSTs that code to Google’s token endpoint, and decodes the returned ID token JWT to extract claims. Implements the flow manually in Spring Boot to show what an authorization code flow actually does, then shows a safer version using Spring Security. Demonstrates it works locally but omits real verification and warns not to use the demo code in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:06OAuth2 and OpenID Connect
  3. 6:07Why OAuth2 and OpenID exist
  4. 8:58OAuth2 entities and flows
  5. 12:54Demo language choice
  6. 13:58Spring Boot setup
  7. 20:08Redirect to Google
  8. 24:52Authorization callback
  9. 26:12Exchange code for tokens
  10. 30:12Decoding ID token
  11. 35:53User data from token
  12. 36:36OAuth2 security pitfalls
  13. 36:58Secure OAuth2 with Spring
  14. 40:46Spring Security auth
  15. 41:28Resources and closing
~/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.