diff --git a/packages/credential-w3c/src/action-handler.ts b/packages/credential-w3c/src/action-handler.ts index 73078346e..e0a9fda4e 100644 --- a/packages/credential-w3c/src/action-handler.ts +++ b/packages/credential-w3c/src/action-handler.ts @@ -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)