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
When a user tries to authorize an authorization request containing an invalid redirect URI, the server will redirect said user to the invalid redirect URI.
is redirecting to the grant's redirect_uri despite it being invalid.
The server should probably be handling this by returning the standard error response, not a redirect.
If the resource owner denies the access request or if the request
fails for reasons other than a missing or invalid redirection URI,
the authorization server informs the client by adding the following
parameters to the query component of the redirection URI using the
"application/x-www-form-urlencoded" format, per Appendix B:
When a user tries to authorize an authorization request containing an invalid redirect URI, the server will redirect said user to the invalid redirect URI.
The code at
authlib/authlib/oauth2/rfc6749/grants/base.py
Line 116 in 5564d2d
authlib/authlib/oauth2/rfc6749/authorization_server.py
Line 169 in 5564d2d
redirect_uri
despite it being invalid.The server should probably be handling this by returning the standard error response, not a redirect.
see https://tools.ietf.org/html/rfc6749#section-4.1.2.1 for more details
The text was updated successfully, but these errors were encountered: