In "4.1.2.1. Error Response" it says:
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:
and then in the error section we have:
invalid_client
The client identifier provided is invalid.
Since the redirect URI is tied to a client's identity, we can't have an
invalid client identity and a valid redirect URI at the same time.
In think the first part of 4.1.2.1 which currently says:
If the request fails due to a missing, invalid, or mismatching
redirection URI, the authorization server SHOULD inform the resource
owner of the error, and MUST NOT redirect the user-agent to the
invalid redirection URI.
should say:
If the request fails due to a missing or invalid client identifier,
or due to a missing, invalid or mismatching redirect URI, the
authorization server SHOULD inform the resource owner of the error,
and MUST NOT redirect the user-agent to the invalid redirection URI.
and the invalid_client error code should be removed from the list of
errors below.
And a minor typo at the end of 4.1.2:
"The authorization server should document the size of any value is
issues."
-Rasmus
_______________________________________________
OAuth mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/oauth