Skip to content

Commit

Permalink
Log line for debugging audience (#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 Mar 25, 2024
1 parent 2260ca2 commit b74f705
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 b74f705

Please sign in to comment.