The reference currently has two samples. It would be nice if there was an intermediate example that shows a minimal configuration with HttpSecurity similar to:
@Bean
SecurityFilterChain springSecurity(HttpSecurity http) {
http
.authorizeHttpRequests(requests -> requests
.anyRequest().authenticated()
)
.authorizationServer(auth -> auth
.oidc(Customizer.withDefaults())
)
.formLogin(Customizer.withDefaults());
return http.build();
}
Comment From: therepanic
Hi, @rwinch. Can I work on this?