-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Allow optional specification of Origin header for Auth Code flow + PKCE #3783
Conversation
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! 🙌 |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this 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! 👍
rebased on develop & resolved conflicts |
Thank you! |
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.