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 }}
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
In the OAuth authorization_code flow, when validating the redirect_uri on the token endpoint, why do we return an unauthorized_client when the redirect_uri is invalid.
Shouldn't this be an invalid_grant according to the spec:
"invalid_grant
The provided authorization grant (e.g., authorization
code, resource owner credentials) or refresh token is
invalid, expired, revoked, does not match the redirection
URI used in the authorization request, or was issued to
another client." https://tools.ietf.org/html/rfc6749#section-5.2
Edit: mixed the authorize and token endpoint error-responses.
The text was updated successfully, but these errors were encountered:
In the OAuth authorization_code flow, when validating the redirect_uri on the token endpoint, why do we return an
unauthorized_client
when the redirect_uri is invalid.Shouldn't this be an
invalid_grant
according to the spec:Edit: mixed the authorize and token endpoint error-responses.
The text was updated successfully, but these errors were encountered: