From 61c439ee87daa3c54572c5f9bd6139c7214d4cab Mon Sep 17 00:00:00 2001 From: ddl-rliu <140021987+ddl-rliu@users.noreply.github.com> Date: Mon, 25 Mar 2024 11:45:23 -0700 Subject: [PATCH] Log line for debugging audience (#5078) 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 9ba3c0d1d91..c27ea06ee70 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{}