Closed morelina closed 6 months ago
Hi, thanks for issue, will look at it. This is tested in tests (pkg/testsuite/middleware_test.go), but will test it also manually to check if there is some culprit
ok found issue, will try to push changes today
@morelina hi, issue should be fixed, you can try image 2.9.6-rc1
Title
Body is missing from upstreamed request when using OPA
Summary
The body of a request (with body) that has been successfully authorized using OPA does not reach the upstream service.
Environment
Expected Results
The upstream service receives the request body when the request is successfully authorized.
Actual Results
The upstream service received no body on a successfully authorized request (that had a body)
Steps to reproduce
Configure Gogatekeeper to use OPA. Configure the corresponding policy that allows a request. Send the request with body.
Additional Information
Javier Moreno Molina javier.moreno_molina@mercedes-benz.com, Mercedes-Benz Connectivity Services GmbH
Provider Information