~/talk

Securing applications with OAuth2 and OpenID Connect using SpringSecurit

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [security, microservices]
slides:none on file

Step‑by‑step demo secures a Spring Boot microservice setup using OpenID Connect for authentication and OAuth2 access tokens as JWTs for delegated authorization, integrating Keycloak, Spring Security (imperative and reactive), and Spring Cloud Gateway. Code shows route token relay, session -> token mapping, resource server JWT validation, and an Angular SPA fix using cookie CSRF tokens; logout is propagated to Keycloak via OIDC. All examples run live: login, protected GETs work, POSTs need CSRF and then succeed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04Application Security
  3. 7:13SpringSecurit
  4. 8:25Authentication
  5. 12:00OAuth Connect
  6. 13:00Dependencies
  7. 13:45KeyClock
  8. 15:00KeyClock integration
  9. 17:00Configuring the application
  10. 19:40Testing the application
  11. 20:35Behind the scenes
  12. 27:15Adding SpringSecurit to BookService
  13. 40:00Configuring the security filter chain
  14. 43:27Exception handling
  15. 46:36Propagation
  16. 49:33Authorization
~/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.