Description
opa plugin can set headers if the policy response is false - https://apisix.apache.org/docs/apisix/plugins/opa/#using-custom-response
I would like to be able to set headers for a request if the policy response is true.
Use cases - to send to the backend the status of the policy, the policy name, fields from the JWT token.
The changes are not so big, so I can prepare a MR
Description
opa plugin can set headers if the policy response is false - https://apisix.apache.org/docs/apisix/plugins/opa/#using-custom-response
I would like to be able to set headers for a request if the policy response is true.
Use cases - to send to the backend the status of the policy, the policy name, fields from the JWT token.
The changes are not so big, so I can prepare a MR