Skip to content

Commit

Permalink
add a reference to CORS headers on token endpoint
Browse files Browse the repository at this point in the history
closes #43
  • Loading branch information
aaronpk committed Oct 24, 2022
1 parent 7303716 commit 5f4d28a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions draft-ietf-oauth-v2-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,17 @@ Parameters sent without a value MUST be treated as if they were
omitted from the request. Request and response parameters
defined by this specification MUST NOT be included more than once.

Authorization servers that wish to support browser-based applications
(applications running exclusively in client-side JavaScript without
access to a supporting backend server) will need to ensure the token endpoint
supports the necessary Cross-Origin Resource Sharing (CORS) headers.
If the authorization server provides additional endpoints to the application, such
as metadata URLs, dynamic client registration, revocation, introspection, discovery or
user info endpoints, these endpoints may also be accessed by the browser-based
application, and will also need to have the CORS headers defined to allow access.
See {{I-D.ietf-oauth-browser-based-apps}} for further details.


### Client Authentication {#token-endpoint-client-authentication}

Confidential clients MUST
Expand Down

0 comments on commit 5f4d28a

Please sign in to comment.