Skip to content

Commit f2fbb0c

Browse files
ChetHoseybergerhoffer
authored andcommitted
Clarify which RFC is being referenced.
1 parent 85777d1 commit f2fbb0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/oauth-internal-tokens.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ responses from `/oauth/authorize`, and how they should be handled:
1818
[cols="2a,8a,8a",options="header"]
1919
|===
2020
|Status | Content | Client response
21-
|302 | `Location` header containing an `access_token` parameter in the URL fragment (link:https://tools.ietf.org/html/rfc6749#section-4.2.2[RFC 4.2.2]) | Use the `access_token` value as the OAuth token.
22-
|302 | `Location` header containing an `error` query parameter (link:https://tools.ietf.org/html/rfc6749#section-4.1.2.1[RFC 4.1.2.1]) | Fail, optionally surfacing the `error` (and optional `error_description`) query values to the user.
21+
|302 | `Location` header containing an `access_token` parameter in the URL fragment (link:https://tools.ietf.org/html/rfc6749#section-4.2.2[RFC 6749 section 4.2.2]) | Use the `access_token` value as the OAuth token.
22+
|302 | `Location` header containing an `error` query parameter (link:https://tools.ietf.org/html/rfc6749#section-4.1.2.1[RFC 6749 section 4.1.2.1]) | Fail, optionally surfacing the `error` (and optional `error_description`) query values to the user.
2323
|302 | Other `Location` header | Follow the redirect, and process the result using these rules.
2424
|401 | `WWW-Authenticate` header present | Respond to challenge if type is recognized (e.g. `Basic`, `Negotiate`, etc), resubmit request, and process the result using these rules.
2525
|401 | `WWW-Authenticate` header missing | No challenge authentication is possible. Fail and show response body (which might contain links or details on alternate methods to obtain an OAuth token).

0 commit comments

Comments
 (0)