Skip to content

Commit

Permalink
parse
Browse files Browse the repository at this point in the history
  • Loading branch information
wistefan committed Dec 5, 2023
1 parent 292ca6e commit e18a6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tir/tokenProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func getCredential(vcPath string) (vc *verifiable.Credential, err error) {
}
logging.Log().Warnf("Got bytes %v", string(vcBytes))

vc, err = verifiable.ParseCredential(vcBytes, verifiable.WithCredDisableValidation(), verifiable.WithDisabledProofCheck())
vc, err = verifiable.ParseCredential(vcBytes, verifiable.WithJSONLDDocumentLoader(ld.NewDefaultDocumentLoader(http.DefaultClient)), verifiable.WithDisabledProofCheck())

if err != nil {
logging.Log().Warnf("Was not able to unmarshal the credential. Err: %v", err)
Expand Down

0 comments on commit e18a6e2

Please sign in to comment.