RFC Errata
RFC 6750, "The OAuth 2.0 Authorization Framework: Bearer Token Usage", October 2012
Source of RFC: oauth (sec)
Errata ID: 6161
Status: Reported
Type: Editorial
Publication Format(s) : TEXT
Reported By: Herbert Valerio Riedel
Date Reported: 2020-05-08
Section 4 says:
4. Example Access Token Response Typically, a bearer token is returned to the client as part of an OAuth 2.0 [RFC6749] access token response. An example of such a response is: HTTP/1.1 200 OK Content-Type: application/json;charset=UTF-8
It should say:
4. Example Access Token Response Typically, a bearer token is returned to the client as part of an OAuth 2.0 [RFC6749] access token response. An example of such a response is: HTTP/1.1 200 OK Content-Type: application/json
Notes:
The IANA registration (see https://tools.ietf.org/html/rfc8259#section-11) does not support any parameters for the `application/json` media type. The `charset=UTF-8` parameter used in the example is therefore non-compliant and ought to be omitted.