Skip to content

Commit

Permalink
fix(credential-w3c): forward domain and challenge args to createVerif…
Browse files Browse the repository at this point in the history
…iablePresentationJwt (#887)
  • Loading branch information
andyv09 authored May 19, 2022
1 parent 6c976a0 commit 2374c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/credential-w3c/src/action-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export class CredentialIssuer implements IAgentPlugin {
const jwt = await createVerifiablePresentationJwt(
presentation as any,
{ did: identifier.did, signer, alg },
{ removeOriginalFields: args.removeOriginalFields },
{ removeOriginalFields: args.removeOriginalFields, challenge: args.challenge, domain: args.domain },
)
//FIXME: flagging this as a potential privacy leak.
debug(jwt)
Expand Down

0 comments on commit 2374c71

Please sign in to comment.