Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add response_mode=form_post to legacy WebView authorization requests #2780

Merged
merged 8 commits into from
Jul 20, 2021

Conversation

pmaytak
Copy link
Contributor

@pmaytak pmaytak commented Jul 19, 2021

Fixes #2743, Fixes #2607, Fixes #2515, Fixes #2749.

Changes proposed in this request
Adding response_mode=form_post to authorization URL only for requests using legacy WebView; so that the auth code and other response parameters are returned in the response body and not query.

Testing
Unit tests + manual testing.

Performance impact
N/A

@pmaytak pmaytak marked this pull request as ready for review July 19, 2021 16:29
@jennyf19
Copy link
Collaborator

tests? approving, but having some tests to cover the form_post would be good.

Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link
Member

@trwalke trwalke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Please add unit test.

@trwalke
Copy link
Member

trwalke commented Jul 20, 2021

Seems like some tests on the build are also failing.

@bgavrilMS bgavrilMS merged commit 668043b into master Jul 20, 2021
@pmaytak pmaytak deleted the pmaytak/b2c-truncate branch July 20, 2021 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants