You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The authorization endpoint URL MUST NOT include a fragment component,
and MAY include an "application/x-www-form-urlencoded" formatted
query component {{WHATWG.URL}}, which MUST be retained when adding
additional query parameters.
Furthermore, query parameters must only appear once (this text appears in the description of the authorization and token endpoints, but is not explicitly mentioned for the redirection endpoint - nevertheless, the cited text already applies to all parameters defined by this spec):
defined by this specification MUST NOT be included more than once.
This becomes a problem in (I admit, somewhat esoteric) cases where the endpoint URIs contain parameters such as code in a redirect URI, in that example, the AS would not be allowed to add its code parameter in the authorization response. But at the same time, the AS is required to do so:
The URIs for the redirect and authorization endpoints may contain additional query parameters that must be retained when adding more parameters:
oauth-v2-1/draft-ietf-oauth-v2-1.md
Lines 860 to 865 in f79f588
oauth-v2-1/draft-ietf-oauth-v2-1.md
Lines 1118 to 1121 in f79f588
Furthermore, query parameters must only appear once (this text appears in the description of the authorization and token endpoints, but is not explicitly mentioned for the redirection endpoint - nevertheless, the cited text already applies to all parameters defined by this spec):
oauth-v2-1/draft-ietf-oauth-v2-1.md
Lines 1129 to 1130 in f79f588
This becomes a problem in (I admit, somewhat esoteric) cases where the endpoint URIs contain parameters such as
code
in a redirect URI, in that example, the AS would not be allowed to add itscode
parameter in the authorization response. But at the same time, the AS is required to do so:oauth-v2-1/draft-ietf-oauth-v2-1.md
Lines 1657 to 1664 in f79f588
I guess this is just a case of adding something like "redirect URI MUST NOT contain the parameters...".
The text was updated successfully, but these errors were encountered: