jwt: fix claim to header example doc (#35532)

Signed-off-by: Fernando Cainelli <fernando.cainelli-external@getyourguide.com>
Co-authored-by: phlax <phlax@users.noreply.github.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3757d99a26c5ad11c096c4ddbbb0f484d6cf3bb9
main
update-envoy[bot] 7 months ago
parent f5f72278f3
commit 677b31e757
  1. 11
      envoy/extensions/filters/http/jwt_authn/v3/config.proto

@ -355,11 +355,12 @@ message JwtProvider {
// Specify the claim name you want to copy in which HTTP header. For examples, following config:
// The claim must be of type; string, int, double, bool. Array type claims are not supported
//
// .. code-block:: yaml
//
// claim_to_headers:
// - name: x-jwt-claim-nested-claim
// claim: claim.nested.key
// .. literalinclude:: /_configs/repo/jwt_authn.yaml
// :language: yaml
// :lines: 44-48
// :linenos:
// :lineno-start: 44
// :caption: :download:`jwt_authn.yaml </_configs/repo/jwt_authn.yaml>`
//
// This header is only reserved for jwt claim; any other value will be overwritten.
repeated JwtClaimToHeader claim_to_headers = 15;

Loading…
Cancel
Save