Add OAuth2LoginSpec.authenticationSuccessHandler #6863
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
In imperative spring security configuration, we can customize the
successHandler
of anoAuth2Login
configuration withorg.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 ?The text was updated successfully, but these errors were encountered: