Form login requiresAuthenticationMatcher is not used in WebFlux #7863
Labels
in: config
An issue in spring-security-config
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Summary
When specifying a custom
requiresAuthenticationMatcher
informLogin
for WebFlux security, it is not used unless a customauthenticationEntryPoint
is used.Example configuration:
Actual Behavior
Making a request to
"/sign-in"
does not perform authentication.Making a
POST
to"/login"
does perform authentication.Expected Behavior
Making a request to
"/sign-in"
should perform authentication.Making a
POST
to"/login"
should not perform authentication.The text was updated successfully, but these errors were encountered: