Skip to content

Add OAuth2LoginSpec.authenticationSuccessHandler #6863

Closed
@rexave

Description

@rexave

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 ?

Metadata

Metadata

Assignees

Labels

in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions