We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3093522 commit b8c7c8eCopy full SHA for b8c7c8e
auth/gcp/iam.go
@@ -40,6 +40,7 @@ type IAMClaimSet struct {
40
// NewDefaultIAMVerifier will verify tokens that have the same default service account as
41
// the server running this verifier.
42
func NewDefaultIAMVerifier(ctx context.Context, cfg IAMConfig, clientFunc func(context.Context) *http.Client) (*auth.Verifier, error) {
43
+ var err error
44
eml := cfg.ServiceAccountEmail
45
if eml == "" {
46
eml, err = GetDefaultEmail(ctx, "", clientFunc(ctx))
0 commit comments