Skip to content

Help to transfer additional header to upstream service #452

Closed Answered by srenatus
bkuchcik asked this question in Envoy
Discussion options

You must be logged in to vote

What you haven't shared is your config used with opa-envoy-plugin (or did I just miss it?) I suspect the configured decision isn't result but authz. So, the headers you set are never returned to opa-envoy-plugin for the policy query, and therefore not presented to Envoy either.

Also, your result rule looks insufficient -- it's only got a "headers" key, no "allowed", like required and mentioned in the docs

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by bkuchcik
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants