diff --git a/public/source/index.php b/public/source/index.php index 341df94..69e36f4 100644 --- a/public/source/index.php +++ b/public/source/index.php @@ -469,6 +469,8 @@
code_verifier
- The original plaintext random string generated before starting the authorization request.The POST request parameters MUST be formatted following how [[!URL]] defines application/x-www-form-urlencoded
. The POST request MUST define the Content-Type
and Accept
HTTP headers as application/x-www-form-urlencoded
and application/json
respectively.
= htmlspecialchars( 'POST https://example.org/auth @@ -689,7 +691,7 @@Access Token Verification Request
-If a resource server needs to verify that an access token is valid, it MUST make a GET request to the token endpoint containing an HTTP
+Authorization
header with the Bearer Token according to [[!RFC6750]]. Note that the request to the endpoint will not contain any user-identifying information, so the resource server (e.g. Micropub endpoint) will need to know via out-of-band methods which token endpoint is in use.If a resource server needs to verify that an access token is valid, it MUST make a GET request to the token endpoint containing an HTTP
Authorization
header with the Bearer Token according to [[!RFC6750]] and an HTTPAccept
header set toapplication/json
. Note that the request to the endpoint will not contain any user-identifying information, so the resource server (e.g. Micropub endpoint) will need to know via out-of-band methods which token endpoint is in use.GET https://example.org/token Authorization: Bearer xxxxxxxx @@ -855,6 +857,7 @@Changes from 26 September 2020 to this version
- Remove same-domain requirement for entered and final profile URL by instead confirming the authorization server
+- Add normative requirement for Accept headers in requests outside of HTTP examples