diff --git a/wallet-enterprise-configurations/acme-verifier/src/configuration/verifier/VerifierConfigurationService.ts b/wallet-enterprise-configurations/acme-verifier/src/configuration/verifier/VerifierConfigurationService.ts index 33cb732..8bb7ead 100644 --- a/wallet-enterprise-configurations/acme-verifier/src/configuration/verifier/VerifierConfigurationService.ts +++ b/wallet-enterprise-configurations/acme-verifier/src/configuration/verifier/VerifierConfigurationService.ts @@ -53,7 +53,7 @@ const verifiableIdDescriptor = { } } -const verifiableIdDescriptorWithFirstnameLastname = { +const verifiableIdDescriptorWithFirstnameLastnameAndBirthdate = { "id": "PID", "constraints": { "fields": [ @@ -75,6 +75,11 @@ const verifiableIdDescriptorWithFirstnameLastname = { "name": "Family Name", "path": ['$.credentialSubject.familyName'], "filter": {} + }, + { + "name": "Birthdate", + "path": ['$.credentialSubject.birthdate'], + "filter": {} } ] } @@ -231,7 +236,7 @@ const verifiableIdWithEuropeanHealthInsuranceCardPresentationDefinition = { "description": "Required Fields: PID (firstName, familyName), EHIC (ssn, validityPeriod, documentId, competentInstitution)", "format": { "vc+sd-jwt": { alg: [ 'ES256' ] },jwt_vc_json: { alg: [ 'ES256' ] }, jwt_vp: { alg: [ 'ES256' ] } }, "input_descriptors": [ - verifiableIdDescriptorWithFirstnameLastname, + verifiableIdDescriptorWithFirstnameLastnameAndBirthdate, europeanHealthInsuranceCardDescriptor ] } @@ -254,7 +259,7 @@ const verifiableIdWithPda1PresentationDefinition = { "description": "Required Fields: PID (firstName, familyName), PDA1 (ssn, validityPeriod, documentId, competentInstitution, employerInfo)", "format": { "vc+sd-jwt": { alg: ['ES256'] }, jwt_vc_json: { alg: ['ES256'] }, jwt_vp: { alg: ['ES256'] } }, "input_descriptors": [ - verifiableIdDescriptorWithFirstnameLastname, + verifiableIdDescriptorWithFirstnameLastnameAndBirthdate, Pda1Descriptor, ]