Skip to content

Commit 3e959f0

Browse files
authored
Error if not wif config (#307)
This is the way things will be accepted as a normal service account
1 parent 47e381f commit 3e959f0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

internal/provider/provider.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,10 @@ func parseWIF(filename string) (*wif, error) {
288288
return nil, err
289289
}
290290

291+
if w.IssuerURI == "" {
292+
return nil, errors.New("WIF configuration must contain an 'issuerUri' field")
293+
}
294+
291295
return &w, nil
292296
}
293297

0 commit comments

Comments
 (0)