Disable OAuth2 validation for the root path - "/" - by specifying a pass_through_matcher in internal/envoy/auth/oauth2_filter.go:
pass_through_matcher
(repeatedconfig.route.v3.HeaderMatcher) Any request that matches any of the provided matchers will be passed through without OAuth validation.
Disable OAuth2 validation for the root path -
"/"
- by specifying apass_through_matcher
ininternal/envoy/auth/oauth2_filter.go
:Source: https://www.envoyproxy.io/docs/envoy/v1.23.1/api-v3/extensions/filters/http/oauth2/v3/oauth.proto#extensions-filters-http-oauth2-v3-oauth2config.
Resolves kubeshop/kusk-gateway/issues/680.
See: https://github.com/kubeshop/kusk-gateway/issues/680.
Signed-off-by: Mohamed Bana mohamed@bana.io