-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 xforwarded method #3424
Add xforwarded method #3424
Conversation
b0f2db9
to
80376f7
Compare
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.
LGTM
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.
LGTM
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.
@erik-sjoestedt many thanks for this feature.
LGTM 👏 👏
80376f7
to
c1dfbd2
Compare
What does this PR do?
Added requested Method to auth server for Forward Authentication.
Motivation
Missing feature for authentication decision based on the request method. For example CORS responses can not be forwarded to API-endpoints without the ability to white list OPTIONS in the auth server. This could also be solved by #2162 but this ticket still holds merit.
More
Added implementation and test.
Additional Notes
The PR is very close cousin of #2398
There is no standard header for forwarding the HTTP Verb so I went with
X-Forwarded-Method