Allows to preserve the exsting authorization header when oauth2 filter is in the request path #34236
Labels
area/http_filter
area/oauth
enhancement
Feature requests. Not bugs or questions.
help wanted
Needs help!
In the current OAuth2 implementation, the Authorization header is sanitized by the OAuth2 filter when it's in the request path, as the following code shows:
envoy/source/extensions/filters/http/oauth2/filter.cc
Lines 292 to 295 in 416cd42
In some scenarios, such as Multi-Factor Authentication (MFA), there may be a need to add another layer of authentication alongside oauth2. It can be helpful if a knob could be added to change this default behavior.
Related EG issue: envoyproxy/gateway#3396
The text was updated successfully, but these errors were encountered: