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

Allow optional specification of Origin header for Auth Code flow + PKCE #3783

Merged
merged 2 commits into from
Aug 9, 2021
Merged

Allow optional specification of Origin header for Auth Code flow + PKCE #3783

merged 2 commits into from
Aug 9, 2021

Conversation

p-m-j
Copy link
Contributor

@p-m-j p-m-j commented Jul 2, 2021

Closes #794

@wdawson this is slightly lazier than the approach discussed in #3572 but it feels reasonable to stuff Origin header into the advanced options section.

image

@wdawson
Copy link
Contributor

wdawson commented Jul 2, 2021

Thanks, @rustybox this certainly works for now. At some point, it may make sense to come back and revisit for a more generic solution but I don't want to let perfect be the enemy of good here. I'll let others do the actual code review as well but thanks for your contribution! 🙌

@p-m-j
Copy link
Contributor Author

p-m-j commented Jul 3, 2021

Pushed linting fixes and removed some indentation my editor decided to add.

Even when custom headers are in I wonder if origin deserves a place in Advanced Options for the signposting, I imagine custom headers would be used more for X-Foo style headers.

Copy link
Contributor

@develohpanda develohpanda left a comment

Choose a reason for hiding this comment

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

Looks to be working well in the app, haven't tested with a valid endpoint. Thank you for the PR!

image

Waiting on one more eng review before merging 😄

Copy link
Contributor

@gatzjames gatzjames left a comment

Choose a reason for hiding this comment

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

Just tested it and it works great! 👍

@p-m-j
Copy link
Contributor Author

p-m-j commented Aug 9, 2021

rebased on develop & resolved conflicts

@develohpanda
Copy link
Contributor

rebased on develop & resolved conflicts

Thank you!

@develohpanda develohpanda merged commit 366a54f into Kong:develop Aug 9, 2021
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.

[Bug] OAuth 2 Authorization Code issue with Insomnia newer version
4 participants