From cd3c90e721e91603a51c6a5841a9b674a6e5035a Mon Sep 17 00:00:00 2001 From: soloio-bot Date: Fri, 15 Dec 2023 20:04:45 +0000 Subject: [PATCH] Sync Gloo APIs. Destination Branch: gloo-main --- api/gloo/enterprise.gloo/v1/auth_config.proto | 3 +++ pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/api/gloo/enterprise.gloo/v1/auth_config.proto b/api/gloo/enterprise.gloo/v1/auth_config.proto index 70c956ee2..54f71111d 100644 --- a/api/gloo/enterprise.gloo/v1/auth_config.proto +++ b/api/gloo/enterprise.gloo/v1/auth_config.proto @@ -731,6 +731,9 @@ message OidcAuthorizationCode { IdentityToken identity_token = 24; // Optional: Map a single claim from an OAuth2 access token to a header in the request to the upstream destination. + // Gloo Mesh products only: Note that if you want to clear the route cache to force the proxy to recalculate the + // routing destination after adding the claims, you must create an additional JwtPolicy or TransformationPolicy, + // and configure the `clearRouteCache` or `recalculateRoutingDestination` options. message AccessToken { // A list of claims to be mapped from the JWT token received by ext-auth-service to an upstream destination diff --git a/pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go b/pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go index 33be31e6a..986148363 100644 --- a/pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go +++ b/pkg/api/enterprise.gloo.solo.io/v1/auth_config.pb.go @@ -6186,6 +6186,9 @@ type UserSession_CipherConfig_KeyRef struct { func (*UserSession_CipherConfig_KeyRef) isUserSession_CipherConfig_Key() {} // Optional: Map a single claim from an OAuth2 access token to a header in the request to the upstream destination. +// Gloo Mesh products only: Note that if you want to clear the route cache to force the proxy to recalculate the +// routing destination after adding the claims, you must create an additional JwtPolicy or TransformationPolicy, +// and configure the `clearRouteCache` or `recalculateRoutingDestination` options. type OidcAuthorizationCode_AccessToken struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache