Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When credential is issued to wallet having multiple dids with same schema for multiple times, if presentation request comes then wallet only sends the first credential that has been accepted for first time with same schema. #25

Open
Pratap2018 opened this issue Oct 17, 2022 · 0 comments

Comments

@Pratap2018
Copy link
Member

A credential is issued to a did, and the user accepts the credential in the wallet. That same wallet is having multiple DIDs. Now if the same issuer issued the credential for another DID in the same wallet with the same credential schema, Then the user will accept the credential with that DID selected . Then if a presentation request comes for that credential, the wallet will send the first accepted credential.

As the wallet is searching credentials from the credential list based on the schema id, it should be based on schemaId and holderDid altogether,

ref :

this.verifiableCredential = this.hypersign.credentials.find((x) => {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant