Skip to content

Commit 43adb63

Browse files
authored
Merge pull request #78 from oauthstuff/danielfett/cors
Proposal for CORS language (and added document history)
2 parents 80ddf66 + 39c70e6 commit 43adb63

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

documenthistory.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
[[ To be removed from the final specification ]]
44

5+
-23
6+
7+
* Added CORS considerations
8+
* Reworded (#client_impersonating_countermeasures) to be more in line with OAuth 2.1
9+
* Editorial changes
10+
* Clarifications and updated references
11+
512
-22
613

714
* Added section on securing in-browser communication

recommendations.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,3 +241,10 @@ If the authorization response is sent with in-browser communication techniques
241241
like postMessage [@postmessage_api] instead of HTTP redirects, both the
242242
initiator and receiver of the in-browser message MUST be strictly verified as described
243243
in (#rec_ibc).
244+
245+
To support browser-based clients, endpoints directly accessed by such clients
246+
including the Token Endpoint, Authorization Server Metadata Endpoint, `jwks_uri`
247+
Endpoint, and the Dynamic Client Registration Endpoint MAY support the use of
248+
Cross-Origin Resource Sharing (CORS, [@CORS]). However, CORS MUST NOT be
249+
supported at the Authorization Endpoint as the client does not access this
250+
endpoint directly, instead the client redirects the user agent to it.

references.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,11 @@ OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens
295295
<date />
296296
</front>
297297
</reference>
298+
299+
<reference anchor="CORS" target="https://fetch.spec.whatwg.org/#http-cors-protocol">
300+
<front>
301+
<title>Fetch Standard: CORS protocol</title>
302+
<author>WHATWG</author>
303+
<date />
304+
</front>
305+
</reference>

0 commit comments

Comments
 (0)