But they're not needed for non-implicit grant types because you've got actual HTTP error codes for those things, then.

I don't think this is a valid errata.

 -- Justin


On 7/20/2016 1:59 PM, RFC Errata System wrote:
The following errata report has been submitted for RFC6749,
"The OAuth 2.0 Authorization Framework".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata_search.php?rfc=6749&eid=4745

--------------------------------------
Type: Technical
Reported by: Clark Downum <[email protected]>

Section: 5.2

Original Text
-------------
error
          REQUIRED.  A single ASCII [USASCII] error code from the
          following:

          invalid_request
                The request is missing a required parameter, includes an
                unsupported parameter value (other than grant type),
                repeats a parameter, includes multiple credentials,
                utilizes more than one mechanism for authenticating the
                client, or is otherwise malformed.

          invalid_client
                Client authentication failed (e.g., unknown client, no
                client authentication included, or unsupported
                authentication method).  The authorization server MAY
                return an HTTP 401 (Unauthorized) status code to indicate
                which HTTP authentication schemes are supported.  If the
                client attempted to authenticate via the "Authorization"
                request header field, the authorization server MUST
                respond with an HTTP 401 (Unauthorized) status code and
                include the "WWW-Authenticate" response header field
                matching the authentication scheme used by the client.

          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.

          unauthorized_client
                The authenticated client is not authorized to use this
                authorization grant type.

          unsupported_grant_type
                The authorization grant type is not supported by the
                authorization server.

          invalid_scope
                The requested scope is invalid, unknown, malformed, or
                exceeds the scope granted by the resource owner.

          Values for the "error" parameter MUST NOT include characters
          outside the set %x20-21 / %x23-5B / %x5D-7E.

Corrected Text
--------------
error
          REQUIRED.  A single ASCII [USASCII] error code from the
          following:

          invalid_request
                The request is missing a required parameter, includes an
                unsupported parameter value (other than grant type),
                repeats a parameter, includes multiple credentials,
                utilizes more than one mechanism for authenticating the
                client, or is otherwise malformed.

          invalid_client
                Client authentication failed (e.g., unknown client, no
                client authentication included, or unsupported
                authentication method).  The authorization server MAY
                return an HTTP 401 (Unauthorized) status code to indicate
                which HTTP authentication schemes are supported.  If the
                client attempted to authenticate via the "Authorization"
                request header field, the authorization server MUST
                respond with an HTTP 401 (Unauthorized) status code and
                include the "WWW-Authenticate" response header field
                matching the authentication scheme used by the client.

          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.

          unauthorized_client
                The authenticated client is not authorized to use this
                authorization grant type.

          unsupported_grant_type
                The authorization grant type is not supported by the
                authorization server.

          invalid_scope
                The requested scope is invalid, unknown, malformed, or
                exceeds the scope granted by the resource owner.

          server_error
                The authorization server encountered an unexpected
                condition that prevented it from fulfilling the request.
                (This error code is needed because a 500 Internal Server
                Error HTTP status code cannot be returned to the client
                via an HTTP redirect.)

          temporarily_unavailable
                The authorization server is currently unable to handle
                the request due to a temporary overloading or maintenance
                of the server.  (This error code is needed because a 503
                Service Unavailable HTTP status code cannot be returned
                to the client via an HTTP redirect.)

          Values for the "error" parameter MUST NOT include characters
          outside the set %x20-21 / %x23-5B / %x5D-7E.

Notes
-----
This is simply adding the server_error and temporarily_unavailable errors in 
other responses responses to the access token response for non-implicit grant 
types.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party (IESG)
can log in to change the status and edit the report, if necessary.

--------------------------------------
RFC6749 (draft-ietf-oauth-v2-31)
--------------------------------------
Title               : The OAuth 2.0 Authorization Framework
Publication Date    : October 2012
Author(s)           : D. Hardt, Ed.
Category            : PROPOSED STANDARD
Source              : Web Authorization Protocol
Area                : Security
Stream              : IETF
Verifying Party     : IESG

_______________________________________________
OAuth mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/oauth

_______________________________________________
OAuth mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/oauth

Reply via email to