You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Authorization URL validations required by the OAuth 2.1 specification not implemented #3856
Similar to the existing handling of resource urls OAuth 2.1 requires that URL fragments not be included in the authorization url and that it not contain any of the params used by the authorization request. Neither of these are currently checked for in _perform_authorization_code_grant
The specification also requires that any existing query params are retained, which are not today ( there is an issue open of this particular part of the issue - #2776 ).
I have a minimal, tested fix ready for OAuth 2.1 Section 3.1 authorization endpoint URL validation (rejecting fragments and pre-existing reserved OAuth params, and preserving/merging non-colliding query parameters via \urllib.parse, with regression tests in \ ests/client/test_auth.py). Could a maintainer assign #3856 to me so
equire-linked-issue\ allows opening the PR?
Activity
media-ctrl commentedon Nov 14, 2026
cuhawk commentedon Dec 2, 2026
I have a minimal, tested fix ready for OAuth 2.1 Section 3.1 authorization endpoint URL validation (rejecting fragments and pre-existing reserved OAuth params, and preserving/merging non-colliding query parameters via \urllib.parse, with regression tests in \ ests/client/test_auth.py). Could a maintainer assign #3856 to me so
equire-linked-issue\ allows opening the PR?