Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Authorization Endpoint HTTP POST binding #181

Closed
panva opened this issue May 27, 2024 · 1 comment
Closed

Authorization Endpoint HTTP POST binding #181

panva opened this issue May 27, 2024 · 1 comment

Comments

@panva
Copy link
Member

panva commented May 27, 2024

2.1 added a lot of text around how clients form authorization requests, the language does not however account for the optional POST binding at the authorization endpoint.

The authorization server MUST support the use of the HTTP GET method Section 9.3.1 of [RFC9110] for the authorization endpoint and MAY support the POST method (Section 9.3.3 of [RFC9110]) as well.

Sections 3.1. Authorization Endpoint and 4.1.1. Authorization Request do not account for the optional POST binding which uses the request body to carry the application/x-www-form-urlencoded encoded parameters.

In OIDC there's explicit text around the request parameters.

Authorization Servers MUST support the use of the HTTP GET and POST methods defined in RFC 7231 [RFC7231] at the Authorization Endpoint. Clients MAY use the HTTP GET or POST methods to send the Authorization Request to the Authorization Server. If using the HTTP GET method, the request parameters are serialized using URI Query String Serialization, per Section 13.1. If using the HTTP POST method, the request parameters are serialized using Form Serialization, per Section 13.2.

@panva panva changed the title Authorization Endpoint API POST binding Authorization Endpoint HTTP POST binding May 27, 2024
aaronpk added a commit that referenced this issue Nov 15, 2024
copied from OpenID Connect, needs some refining

for #181
aaronpk added a commit that referenced this issue Nov 15, 2024
This moves the description of serializations to the appendix

part of #181
@aaronpk
Copy link
Member

aaronpk commented Nov 15, 2024

This has been resolved in #190, there is now a section that describes the serialization methods in an appendix, which is referenced elsewhere in the spec: https://drafts.oauth.net/oauth-v2-1/draft-ietf-oauth-v2-1.html#name-serializations

@aaronpk aaronpk closed this as completed Nov 15, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants