Hi,
I would ask for an update of the basic auth http filter (#30079) to extract the username in a header or metadata.
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. Ideally if we can choose the header name, it will be perfect.
Maybe something like:
users:
inline_string: |-
user1:{SHA}hashed_user1_password
user2:{SHA}hashed_user2_password
set_username_header: X-Scope-OrgID
cc @zhaohuabing
Hi,
I would ask for an update of the basic auth http filter (#30079) to extract the username in a header or metadata.
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. Ideally if we can choose the header name, it will be perfect.
Maybe something like:
cc @zhaohuabing