></a>:</p><pre><code class=language-yaml data-expandlinks=true data-repo=istio>data:
  mesh: |-
    extensionProviders:
    - name: &#34;oauth2-proxy&#34;
      envoyExtAuthzHttp:
        service: &#34;oauth2-proxy.foo.svc.cluster.local&#34;
        port: &#34;4180&#34; # The default port used by oauth2-proxy.
        includeRequestHeadersInCheck: [&#34;authorization&#34;, &#34;cookie&#34;] # headers sent to the oauth2-proxy in the check request.
        headersToUpstreamOnAllow: [&#34;authorization&#34;, &