Skip to content

Commit

Permalink
Merge pull request #198 from Sphereon-Opensource/feature/MWALL-702
Browse files Browse the repository at this point in the history
feat: store self-issued vc as HOLDER
  • Loading branch information
nklomp authored Jul 31, 2024
2 parents 27cc5a0 + ee62701 commit 756e201
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 756e201

Please sign in to comment.