From d289a9784866f62ea3e747ae52b00d5b37c8b493 Mon Sep 17 00:00:00 2001 From: soloio-bot <34349395+soloio-bot@users.noreply.github.com> Date: Fri, 15 Dec 2023 15:15:54 -0500 Subject: [PATCH] Sync APIs. @tag-name=gloo-v1.16.0-rc1 (#1093) Co-authored-by: soloio-bot --- 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