~/talk

Next Generation OAuth Support with Spring Security 5.0

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [security, web-platform]
slides:none on file

Spring Security 5.0 adds client-side OAuth 2.0 and OpenID Connect login using the Authorization Code Grant, demoing Google, GitHub and Okta. With Spring Boot 2 most well‑known providers require two properties (client-id and secret) and the default flow auto‑configures endpoints; Java config needs a ClientRegistrationRepository and http.oauth2Login(). Okta returns a custom authorities claim that maps to Spring GrantedAuthorities so fine‑grained URL rules work; access tokens come from an AuthorizedClientService and are usable with WebClient. Demos succeed; refresh tokens and resource/authorization server work are planned.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:55OAuth2 login overview
  3. 3:01Spring Boot auto-configuration
  4. 6:57Google login demo
  5. 12:19Minimal configuration for providers
  6. 13:22GitHub login setup
  7. 18:36Java configuration for OAuth2 login
  8. 22:45Mapping user authorities
  9. 27:59Octa login and authority mapping
  10. 37:59Questions on OAuth2 login
  11. 42:24Access tokens and protected resources
  12. 47:28Access token retrieval demo
  13. 52:16Simplified access token use in 5.1
  14. 56:07Future OAuth2 features and timeline
  15. 1:00:37Q&A 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.