From e6abf49bf4af52c9eb6147cc38d636bca6c346eb Mon Sep 17 00:00:00 2001 From: ddl-rliu Date: Tue, 19 Mar 2024 12:53:39 -0700 Subject: [PATCH] debug audience Signed-off-by: ddl-rliu --- flyteadmin/auth/authzserver/claims_verifier.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flyteadmin/auth/authzserver/claims_verifier.go b/flyteadmin/auth/authzserver/claims_verifier.go index 9ba3c0d1d9..c27ea06ee7 100644 --- a/flyteadmin/auth/authzserver/claims_verifier.go +++ b/flyteadmin/auth/authzserver/claims_verifier.go @@ -24,7 +24,7 @@ func verifyClaims(expectedAudience sets.String, claimsRaw map[string]interface{} } if foundAudIndex < 0 { - return nil, fmt.Errorf("invalid audience [%v]", claims) + return nil, fmt.Errorf("invalid audience [%v], wanted [%v]", claims, expectedAudience) } userInfo := &service.UserInfoResponse{}