From eaf8bd2024076a874465bdb877b9e560613ea3b6 Mon Sep 17 00:00:00 2001 From: Yoshihiro Date: Wed, 8 Oct 2025 19:10:48 +0900 Subject: [PATCH] doc: correct field name in example config --- security/v1beta1/request_authentication.pb.go | 2 +- security/v1beta1/request_authentication.pb.html | 2 +- security/v1beta1/request_authentication.proto | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/security/v1beta1/request_authentication.pb.go b/security/v1beta1/request_authentication.pb.go index 207f7063bf..715bed623c 100644 --- a/security/v1beta1/request_authentication.pb.go +++ b/security/v1beta1/request_authentication.pb.go @@ -497,7 +497,7 @@ type JWTRule struct { // // ``` yaml // - // from_cookies: + // fromCookies: // - auth-token // // ``` diff --git a/security/v1beta1/request_authentication.pb.html b/security/v1beta1/request_authentication.pb.html index d005066caa..31d08f6a64 100644 --- a/security/v1beta1/request_authentication.pb.html +++ b/security/v1beta1/request_authentication.pb.html @@ -411,7 +411,7 @@

JWTRule

List of cookie names from which JWT is expected. // For example, if config is:

-
  from_cookies:
+
  fromCookies:
   - auth-token
 

Then JWT will be extracted from auth-token cookie in the request.

diff --git a/security/v1beta1/request_authentication.proto b/security/v1beta1/request_authentication.proto index a4647980ec..4bef6a2251 100644 --- a/security/v1beta1/request_authentication.proto +++ b/security/v1beta1/request_authentication.proto @@ -433,7 +433,7 @@ message JWTRule { // For example, if config is: // // ``` yaml - // from_cookies: + // fromCookies: // - auth-token // ``` // Then JWT will be extracted from `auth-token` cookie in the request.