envoyproxy / gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
https://gateway.envoyproxy.io
Apache License 2.0
1.64k stars 357 forks source link

Extract username from basic auth and forward it to backends #2947

Open zhaohuabing opened 8 months ago

zhaohuabing commented 8 months ago

I would ask for an update of the basic auth in the SecurityPolicy to extract the username and add it to the headers sent to the backends.

The use case is the following, after user auth success I need to add the username in the request header that will be used by the application after.

This depends on the Envoy upstream PR: https://github.com/envoyproxy/envoy/pull/32943

github-actions[bot] commented 7 months ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.

akorosi commented 2 months ago

+1

s0uky commented 2 months ago

+1 Is there some progress in this issue, pls? Thank you

EDIT: I'm asking, because this PR is closed for some reason: https://github.com/envoyproxy/gateway/pull/3312

github-actions[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had activity in the last 30 days.