-
-
Notifications
You must be signed in to change notification settings - Fork 362
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 new remote authorizer that uses request body and headers #416
Conversation
37111c3
to
149f1c4
Compare
a984de3
to
92fe3ca
Compare
Sorry, forgot to say, this looks really good! Good job on providing docs and everything in one go :) |
8a0b3ce
to
25db75d
Compare
25db75d
to
b743d91
Compare
The current remote_json authorizer does not have the ability to send the request body of the request to authorize. This means this cannot be taken into account while checking permissions. Providing the request body as part of the JSON payload won't always work as JSON cannot handle binary data.
b743d91
to
3fee0dc
Compare
Thank you, great job! |
Hello, |
This is documented:
If something is unclear there please propose a change (PR) or open a discussion on the forums/github/slack |
Related issue
None that I know
Proposed changes
This pull request implements a new authorizer that sends the original request body as body to the remote endpoint. This allows the remote endpoint to take the body into account in its decision.
Checklist
vulnerability. If this pull request addresses a security. vulnerability, I
confirm that I got green light (please contact
[email protected]) from the maintainers to push
the changes.
works.
Further comments