Skip to content

Commit

Permalink
debug audience
Browse files Browse the repository at this point in the history
Signed-off-by: ddl-rliu <[email protected]>
  • Loading branch information
ddl-rliu committed Mar 19, 2024
1 parent eb24107 commit e6abf49
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 e6abf49

Please sign in to comment.