Skip to content

Commit

Permalink
fix(credential-w3c): added domain and challenge args
Browse files Browse the repository at this point in the history
  • Loading branch information
andyv09 committed May 19, 2022
1 parent 6c976a0 commit 435e906
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 435e906

Please sign in to comment.