Skip to content

Commit

Permalink
feat: store self-issued vc as HOLDER
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderPostma committed Jul 31, 2024
1 parent f01fe0b commit ee62701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/machines/onboardingMachineService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const createUserAndIdentity = async (
},
});
await storeVerifiableCredential({
credentialRole: CredentialRole.ISSUER,
credentialRole: CredentialRole.HOLDER, // Here we are both ISSUER & HOLDER but has I think it to be HOLDER due to "oid4vp.filterCredentialsAgainstAllDefinitions(CredentialRole.HOLDER)"
issuerCorrelationId: identifier.did,
issuerCorrelationType: CredentialCorrelationType.DID,
vc: verifiableCredential,
Expand Down

0 comments on commit ee62701

Please sign in to comment.