Skip to content

Commit ea0de86

Browse files
committed
Corrected example of WWW-Authenticate response with no access token
closes #64
1 parent d578057 commit ea0de86

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

draft-ietf-oauth-resource-metadata.xml

+11-4
Original file line numberDiff line numberDiff line change
@@ -889,10 +889,8 @@
889889
<preamble>The response below is an example of a <spanx style="verb">WWW-Authenticate</spanx> header that includes the resource identifier.</preamble>
890890

891891
<artwork><![CDATA[
892-
HTTP/1.1 400 Bad Request
893-
WWW-Authenticate: Bearer error="invalid_request",
894-
error_description="No access token was provided in this request",
895-
resource_metadata=
892+
HTTP/1.1 401 Unauthorized
893+
WWW-Authenticate: Bearer resource_metadata=
896894
"https://resource.example.com/.well-known/oauth-protected-resource"
897895
]]></artwork>
898896
</figure>
@@ -1892,6 +1890,15 @@
18921890
<section anchor="History" title="Document History">
18931891
<t>[[ to be removed by the RFC Editor before publication as an RFC ]]</t>
18941892

1893+
<t>
1894+
-14
1895+
<list style="symbols">
1896+
<t>
1897+
Corrected example of `WWW-Authenticate` response with no access token
1898+
</t>
1899+
</list>
1900+
</t>
1901+
18951902
<t>
18961903
-13
18971904
<list style="symbols">

0 commit comments

Comments
 (0)