Skip to content

Commit

Permalink
Log line for debugging audience (flyteorg#5078)
Browse files Browse the repository at this point in the history
Signed-off-by: ddl-rliu <[email protected]>
  • Loading branch information
ddl-rliu authored and yubofredwang committed Mar 26, 2024
1 parent e7548e0 commit 61c439e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteadmin/auth/authzserver/claims_verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit 61c439e

Please sign in to comment.