Skip to content

Support for Accessing Authorization Response Parameters#1083

Open
arif-basri wants to merge 1 commit intobshaffer:mainfrom
arif-basri:1082
Open

Support for Accessing Authorization Response Parameters#1083
arif-basri wants to merge 1 commit intobshaffer:mainfrom
arif-basri:1082

Conversation

@arif-basri
Copy link

@arif-basri arif-basri commented Jul 15, 2025

This PR adds logic to expose the authorization response parameters (uri_params['query']) in the AuthorizeController. This change enables downstream controller code to access these parameters, which is helpful for implementing the OAuth2 response_mode=form_post specification. With this update, the controller can rewrite response to return HTML with automatic POST action instead of redirect response, by utilizing the parameters directly, improving standards compliance and flexibility for different response modes.

Otherwise we need to parse the redirect url for the parameters which is not elegant.

https://openid.net/specs/oauth-v2-form-post-response-mode-1_0.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant