Skip to content

Commit

Permalink
Merge pull request #199 from oauth-wg/uri_matching
Browse files Browse the repository at this point in the history
added port number exception to uri matching rules
  • Loading branch information
aaronpk authored Dec 19, 2024
2 parents 5ecaa18 + c133b62 commit 3830b8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions draft-ietf-oauth-v2-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1678,6 +1678,8 @@ in the request if present, ensuring that it matches one of the registered
redirect URIs previously established during client registration ({{client-registration}}).
When comparing the two URIs the authorization server MUST ensure that the
two URIs are equal, see {{RFC3986}}, Section 6.2.1, Simple String Comparison, for details.
The only exception is native apps using a localhost URI: In this case, the authorization server
MUST allow variable port numbers as described in [RFC8252], Section 7.3.

If the request is valid,
the authorization server authenticates the resource owner and obtains
Expand Down

0 comments on commit 3830b8e

Please sign in to comment.