Remove redundant validation for redirect-uri #7706
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
The OAuth 2.0 implementations of
AuthenticationProvider
andReactiveAuthenticationManager
perform an exact match onOAuth2AuthorizationRequest.getRedirectUri()
andOAuth2AuthorizationResponse.getRedirectUri()
, which is redundant given that the exact matching is also happening in the associatedFilter
andWebFilter
.We should remove this double validation since the check will always pass if the
AuthenticationProvider
orReactiveAuthenticationManager
is called.The text was updated successfully, but these errors were encountered: