solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.08k stars 438 forks source link

Capability to append/transform headers in extauth request/response to auth server #6099

Open jjsadek opened 2 years ago

jjsadek commented 2 years ago

Version

1.10.x (latest stable)

Is your feature request related to a problem? Please describe.

We are using oauth2 AuthConfig with introspection. Our use-cases requires that the client be able to send additional headers to auth server, and that gloo be able to receive additional headers from the auth server to eventually pass them to the upstream. The opaque token received from auth server cannot be decoded so it cannot be used for that purpose.

Describe the solution you'd like

We need to have the capability to pass additional headers to the auth server, and also receive additional header that can be transformed in the communication with the upstream.

Describe alternatives you've considered

Tried "allowedHeaders" and "headersToAdd" settings but it did not work

Additional Context

No response

github-actions[bot] commented 4 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.