zmaren opened a new issue, #10601:
URL: https://github.com/apache/apisix/issues/10601

   ### Description
   
   In other API gateway I used similar way to set header to my introspection 
endpoint that I used within OIDC plugin. In pre-function plugin I did set 
header using their code `gateway.service.request.set_header('header', 'value'). 
However, with APISIX, I'm unable to replicate this. Even though I added 
`serverless-pre-function` plugin with phase set to `rewrite` or `access`, with 
`ngx.req.set_header` method, header was not set and forwarded to introspection 
endpoint.
   
   ### Environment
   
   - APISIX version: 3.7
   - Operating system: Linux apisix-dev-7b89dc65c5-54f8w 
5.10.176-157.645.amzn2.x86_64 #1 SMP Tue Mar 28 17:49:06 UTC 2023 x86_64 
GNU/Linux
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 
openresty/1.21.4.2 / 
   - Plugin runner version, for issues related to plugin runners: no sure what 
is this and how to get it
   - LuaRocks version, for installation issues (run `luarocks --version`): no 
luarocks installed
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to