Closed
Description
The current implementation of OAuth2AuthorizationCodeGrantFilter
does not match on the query parameters that may be contained in the registered redirect_uri
.
As per spec, in section 3.1.2 Redirection Endpoint:
The redirection endpoint URI MUST be an absolute URI as defined by
[RFC3986] Section 4.3. The endpoint URI MAY include an
"application/x-www-form-urlencoded" formatted (per Appendix B) query
component ([RFC3986] Section 3.4), which MUST be retained when adding
additional query parameters. The endpoint URI MUST NOT include a
fragment component.
We should apply this fix to ensure the OAuth2AuthorizationCodeGrantFilter
also matches on the query parameters.