Closed
Description
In imperative spring security configuration, we can customize the successHandler
of an oAuth2Login
configuration with
org.springframework.security.config.annotation.web.configurers.AbstractAuthenticationFilterConfigurer#successHandler
I didn't find this feature in reactive branch of spring security on org.springframework.security.config.web.server.ServerHttpSecurity#oauth2Login
Version
spring security 5.1.5
Can you port this feature in reactiv implementation ?
How can I change the behavior of spring security after a successful oAuth ?
Maybe with a org.springframework.security.config.web.server.ServerHttpSecurity#addFilterAt
? But how can i know the authentication was successful ?