From 677b31e757cc8e44b373f391d9305922e500dc5b Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 07:36:33 +0000 Subject: [PATCH] jwt: fix claim to header example doc (#35532) Signed-off-by: Fernando Cainelli Co-authored-by: phlax Mirrored from https://github.com/envoyproxy/envoy @ 3757d99a26c5ad11c096c4ddbbb0f484d6cf3bb9 --- .../extensions/filters/http/jwt_authn/v3/config.proto | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/envoy/extensions/filters/http/jwt_authn/v3/config.proto b/envoy/extensions/filters/http/jwt_authn/v3/config.proto index 41d694a0..85f96eee 100644 --- a/envoy/extensions/filters/http/jwt_authn/v3/config.proto +++ b/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 ` // // This header is only reserved for jwt claim; any other value will be overwritten. repeated JwtClaimToHeader claim_to_headers = 15;