diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/DemoAuth.java b/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/DemoAuth.java index 5ab797e4ad..1b0737647f 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/DemoAuth.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/DemoAuth.java @@ -41,6 +41,7 @@ public class DemoAuth extends IdAuthenticationUtil implements ITest { protected String testCaseName = ""; public Response response = null; public boolean isInternal = false; + public String idKeyName = null; private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); @@ -68,6 +69,7 @@ public String getTestName() { @DataProvider(name = "testcaselist") public Object[] getTestCaseList(ITestContext context) { String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); + idKeyName = context.getCurrentXmlTest().getLocalParameters().get("idKeyName"); logger.info("Started executing yml: " + ymlFile); return getYmlTestData(ymlFile); } @@ -78,6 +80,7 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; + String partialPartnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId; String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) @@ -85,6 +88,12 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); PartnerRegistration.appendEkycOrRp.set("rp-"); } + if (testCaseDTO.getEndPoint().contains("$partialPartnerKeyUrl$")) { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partialPartnerKeyUrl$", partialPartnerKeyUrl)); + testCaseDTO.setEndPoint(replaceIdWithAutogeneratedId(testCaseDTO.getEndPoint(), "$ID:")); + + PartnerRegistration.appendEkycOrRp.set("rp-"); + } if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) { testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); @@ -158,6 +167,10 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); + if (testCaseName.toLowerCase().contains("_sid")) { + writeAutoGeneratedId(response, idKeyName, testCaseName); + } + Map> ouputValid = OutputValidationUtil .doJsonOutputValidation(response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); Reporter.log(ReportUtil.getOutputValidationReport(ouputValid)); diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/OtpAuthNew.java b/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/OtpAuthNew.java index d4ff6e1fab..b3efc41851 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/OtpAuthNew.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/auth/testscripts/OtpAuthNew.java @@ -39,6 +39,7 @@ public class OtpAuthNew extends IdAuthenticationUtil implements ITest { protected String testCaseName = ""; public Response response = null; public boolean isInternal = false; + public String idKeyName = null; private EncryptionDecrptionUtil encryptDecryptUtil = new EncryptionDecrptionUtil(); @@ -66,6 +67,7 @@ public String getTestName() { @DataProvider(name = "testcaselist") public Object[] getTestCaseList(ITestContext context) { String ymlFile = context.getCurrentXmlTest().getLocalParameters().get("ymlFile"); + idKeyName = context.getCurrentXmlTest().getLocalParameters().get("idKeyName"); isInternal = Boolean.parseBoolean(context.getCurrentXmlTest().getLocalParameters().get("isInternal")); logger.info("Started executing yml: " + ymlFile); return getYmlTestData(ymlFile); @@ -77,6 +79,7 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad testCaseName = IdAuthenticationUtil.isTestCaseValidForExecution(testCaseDTO); String partnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId + "/" + PartnerRegistration.apiKey; + String partialPartnerKeyUrl = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.partnerId; String ekycPartnerKeyURL = PartnerRegistration.mispLicKey + "/" + PartnerRegistration.ekycPartnerId + "/" + PartnerRegistration.kycApiKey; if(testCaseDTO.getEndPoint().contains("$partnerKeyURL$")) @@ -85,6 +88,12 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partnerKeyURL$", partnerKeyUrl)); PartnerRegistration.appendEkycOrRp.set("rp-"); } + if (testCaseDTO.getEndPoint().contains("$partialPartnerKeyUrl$")) { + testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$partialPartnerKeyUrl$", partialPartnerKeyUrl)); + testCaseDTO.setEndPoint(replaceIdWithAutogeneratedId(testCaseDTO.getEndPoint(), "$ID:")); + + PartnerRegistration.appendEkycOrRp.set("rp-"); + } if(testCaseDTO.getEndPoint().contains("$ekycPartnerKeyURL$")) { testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$ekycPartnerKeyURL$", ekycPartnerKeyURL)); @@ -174,6 +183,10 @@ public void test(TestCaseDTO testCaseDTO) throws AuthenticationTestException, Ad logger.info("******Post request Json to EndPointUrl: " + ApplnURI + testCaseDTO.getEndPoint() + " *******"); response = postRequestWithCookieAuthHeaderAndSignature(ApplnURI + testCaseDTO.getEndPoint(), authRequest, COOKIENAME, testCaseDTO.getRole(), testCaseDTO.getTestCaseName()); + logger.info("Response is = " + response.asString()); + if (testCaseName.toLowerCase().contains("_sid")) { + writeAutoGeneratedId(response, idKeyName, testCaseName); + } Map> ouputValid = OutputValidationUtil .doJsonOutputValidation(response.asString(), getJsonFromTemplate(testCaseDTO.getOutput(), testCaseDTO.getOutputTemplate())); diff --git a/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml b/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml index da7e7c8fd0..aaf894a8fc 100644 --- a/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml +++ b/api-test/src/main/resources/ida/AddIdentity/AddIdentity.yml @@ -1925,7 +1925,7 @@ AddIdentity: auth_AddIdentity_For_Kyc_Delegated_Bio_Auth_Smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_01 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_01 description: create UIN with valid parameters role: idrepo restMethod: post @@ -1955,7 +1955,7 @@ AddIdentity: }' auth_AddIdentity_For_Kyc_Delegated_Bio_Auth_VID_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_02 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_02 description: create UIN with valid parameters for delegated auth role: idrepo restMethod: post @@ -1983,9 +1983,9 @@ AddIdentity: output: '{ "status":"ACTIVATED" }' - auth_AddIdentity_For_Kyc_Delegated_leftIris_Auth_UIN_Pos: + auth_AddIdentity_For_Kyc_Delegated_leftIris_Auth_UIN_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_03 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_03 description: create UIN with valid parameters for delegated iris auth role: idrepo restMethod: post @@ -2013,9 +2013,9 @@ AddIdentity: output: '{ "status":"ACTIVATED" }' - auth_AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos: + auth_AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_04 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_04 description: create UIN with valid parameters for delegated iris auth role: idrepo restMethod: post @@ -2043,9 +2043,9 @@ AddIdentity: output: '{ "status":"ACTIVATED" }' - auth_AddIdentity_For_Kyc_Delegated_rightIris_Auth_UIN_Pos: + auth_AddIdentity_For_Kyc_Delegated_rightIris_Auth_UIN_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_05 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_05 description: create UIN with valid parameters for delegated right iris auth role: idrepo restMethod: post @@ -2075,7 +2075,7 @@ AddIdentity: }' auth_AddIdentity_For_Kyc_Delegated_rightIris_Auth_VID_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_06 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_06 description: create UIN with valid parameters for delegated right iris auth role: idrepo restMethod: post @@ -2103,9 +2103,9 @@ AddIdentity: output: '{ "status":"ACTIVATED" }' - auth_AddIdentity_withValidParameters_forDelegated_Infant_Pos: + auth_AddIdentity_withValidParameters_forDelegated_Infant_smoke_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_07 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_07 description: create Infant UIN with valid parameters for delegate role: idrepo restMethod: post @@ -2135,7 +2135,7 @@ AddIdentity: }' auth_AddIdentity_withValidParameters_forDelegated_differentIdType_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_08 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_08 description: create UIN with valid parameters for delegate role: idrepo restMethod: post @@ -2165,7 +2165,7 @@ AddIdentity: }' auth_AddIdentity_withValidParameters_forDemoDelegated_Pos: endPoint: /idrepository/v1/identity/ - uniqueIdentifier: TC_DependentModule_Delegated_IdRepo_09 + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_09 description: create UIN with valid parameters for demo auth delegate role: idrepo restMethod: post @@ -2192,4 +2192,64 @@ AddIdentity: }' output: '{ "status":"ACTIVATED" +}' + auth_AddIdentity_withValidParameters_forOtpDelegated_Pos: + endPoint: /idrepository/v1/identity/ + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_10 + description: create UIN with valid parameters for otp auth delegate + role: idrepo + restMethod: post + inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ + outputTemplate: ida/AddIdentity/addIdentityResult + input: '{ + "value": "$BIOVALUE$", + "id": "mosip.id.create", + "registrationId": "$RID$", + "addressCopy": "Y", + "biometricReferenceId": "23452353", + "UIN": "$UIN$", + "dateOfBirth": "1990/09/28", + "postalCode": "14022", + "email": "auth_AddIdentity_withValidParameters_forOtpDelegated_smoke_Pos@mosip.net", + "phone": "7019858531", + "mobileno": "7019858531", + "referenceIdentityNumber": "6789545678878", + "version": "v1", + "introducerRID": "212124324784879", + "introducerUIN": "212124324784879", + "category": "individualBiometrics", + "requesttime": "$TIMESTAMP$" +}' + output: '{ + "status":"ACTIVATED" +}' + auth_AddIdentity_withValidParameters_forLockedUIN_DemoDelegated_Pos: + endPoint: /idrepository/v1/identity/ + uniqueIdentifier: TC_DependentModule_IdRepo_Delegated_11 + description: create UIN with valid parameters for demo auth delegate + role: idrepo + restMethod: post + inputTemplate: ida/AddIdentity/addIdentity_$LANGNUMBER$ + outputTemplate: ida/AddIdentity/addIdentityResult + input: '{ + "value": "$BIOVALUE$", + "id": "mosip.id.create", + "registrationId": "$RID$", + "addressCopy": "Y", + "biometricReferenceId": "23452353", + "UIN": "$UIN$", + "dateOfBirth": "1990/09/28", + "postalCode": "14022", + "email": "auth_AddIdentity_withValidParameters_forOtpDelegated_smoke_Pos@mosip.net", + "phone": "7019858531", + "mobileno": "7019858531", + "referenceIdentityNumber": "6789545678878", + "version": "v1", + "introducerRID": "212124324784879", + "introducerUIN": "212124324784879", + "category": "individualBiometrics", + "requesttime": "$TIMESTAMP$" +}' + output: '{ + "status":"ACTIVATED" }' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml b/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml index 0b1bc28134..5a9ca13adb 100644 --- a/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml +++ b/api-test/src/main/resources/ida/AuthInternalLock/AuthInternalLock.yml @@ -195,4 +195,24 @@ AuthInternalLock: }' output: '{ "status": "Success" +}' + + auth_AuthInternal_Permanent_Lock_DemoAuthDelegate_Valid_Smoke_Pos: + endPoint: /idrepository/v1/identity/authtypes/status + uniqueIdentifier: TC_IDA_AuthInternalLock_07 + description: lock Demo authType Permanently for UIN + role: idrepo + restMethod: post + inputTemplate: ida/AuthInternalLock/authInternalLock + outputTemplate: ida/AuthInternalLock/authInternalLockResult + input: '{ + "individualId": "$ID:AddIdentity_withValidParameters_forLockedUIN_DemoDelegated_Pos_UIN$", + "individualIdType": "UIN", + "authType": "Demo", + "authSubType": "", + "locked": true, + "unlockForSeconds": 0 +}' + output: '{ + "status": "Success" }' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthDelegated/BioAuthDelegated.yml b/api-test/src/main/resources/ida/BioAuthDelegated/BioAuthDelegated.yml new file mode 100644 index 0000000000..ed51f6ff63 --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthDelegated/BioAuthDelegated.yml @@ -0,0 +1,1001 @@ +BioAuthDelegated: + auth_BioAuthDelegated_Biometric_Face_With_Valid_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_01 + description: Biometric face KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_Face_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_02 + description: Biometric face KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftIris_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_03 + description: Biometric left iris KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_UIN_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left", + "bioType": "Iris", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftIris_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_04 + description: Biometric left iris KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left", + "bioType": "Iris", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightIris_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_05 + description: Biometric Right iris KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_rightIris_Auth_UIN_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "Iris", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightIris_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_06 + description: Biometric Right iris KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_rightIris_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "Iris", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftIndexFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_07 + description: Biometric LeftIndexFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left IndexFinger", + "bioType": "Finger", + "bioValue": "$LEFTINDEXFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftIndexFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_08 + description: Biometric LeftIndexFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left IndexFinger", + "bioType": "Finger", + "bioValue": "$LEFTINDEXFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightIndexFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_09 + description: Biometric RightIndexFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right IndexFinger", + "bioType": "Finger", + "bioValue": "$RIGHTINDEXFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_10 + description: Biometric RightIndexFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right IndexFinger", + "bioType": "Finger", + "bioValue": "$RIGHTINDEXFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightMiddleFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_11 + description: Biometric RightMiddleFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right MiddleFinger", + "bioType": "Finger", + "bioValue": "$RIGHTMIDDLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_12 + description: Biometric RightMiddleFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right MiddleFinger", + "bioType": "Finger", + "bioValue": "$RIGHTMIDDLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftMiddleFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_13 + description: Biometric LeftMiddleFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left MiddleFinger", + "bioType": "Finger", + "bioValue": "$LEFTMIDDLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftMiddleFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_14 + description: Biometric LeftMiddleFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left MiddleFinger", + "bioType": "Finger", + "bioValue": "$LEFTMIDDLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightLittleFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_15 + description: Biometric RightLittleFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right LittleFinger", + "bioType": "Finger", + "bioValue": "$RIGHTLITTLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_16 + description: Biometric RightLittleFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right LittleFinger", + "bioType": "Finger", + "bioValue": "$RIGHTLITTLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftLittleFinger_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_17 + description: Biometric LeftLittleFinger KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left LittleFinger", + "bioType": "Finger", + "bioValue": "$LEFTLITTLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_18 + description: Biometric LeftLittleFinger KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left LittleFinger", + "bioType": "Finger", + "bioValue": "$LEFTLITTLEFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightThumb_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_19 + description: Biometric RightThumb KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right Thumb", + "bioType": "Finger", + "bioValue": "$RIGHTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_RightThumb_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_20 + description: Biometric RightThumb KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right Thumb", + "bioType": "Finger", + "bioValue": "$RIGHTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftThumb_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_21 + description: Biometric LeftThumb KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left Thumb", + "bioType": "Finger", + "bioValue": "$LEFTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_22 + description: Biometric LeftThumb KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left Thumb", + "bioType": "Finger", + "bioValue": "$LEFTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_differentIdTypeForKycExchange_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_23 + description: KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDelegated_differentIdType_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left Thumb", + "bioType": "Finger", + "bioValue": "$LEFTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_forkYCexchangeWithRandomUIN_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_24 + description: KYC delegated auth with valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right IndexFinger", + "bioType": "Finger", + "bioValue": "$RIGHTINDEXFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_BioAuthDelegated_Biometric_forkYCexchangeWithRandomVID_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegated_25 + description: KYC delegated auth with valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegated/BioAuthDelegated + outputTemplate: ida/BioAuthDelegated/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left Thumb", + "bioType": "Finger", + "bioValue": "$LEFTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegated/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "kycStatus": "true" +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegated.hbs b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegated.hbs new file mode 100644 index 0000000000..bc91c0aee1 --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegated.hbs @@ -0,0 +1,30 @@ +{ + "id": "mosip.identity.kycauth", + "consentObtained": true, + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "request": "wB6n9jA-jZ0NPJQjkyPyugYWzk4fJvgHnP8OKVu4urfnjdrT1O3hycb9HncVXMmgrmgbXwBAX-01RgHyB-EJJN9Ahk_u0JZTKiZfXLnmQI6lBjpruG-L2dJyfR0vAMt3Yb0W8BcNd1i2wMpAcu8tpm-aXz79nnh68_a3HdSM84799kopLW26pFo_iQzqNT0VuOg1OBEjtkb92NsCt-391v20UjRyIr1hIETHReOjCjI", + "requestHMAC": "EF4F5925A684CE1CE6D8F6E5C3385C641B06800AAE213C9F55696015FF7D8CFC", + "requestTime": "{{requestTime}}", + "filters": [ + {{#each filters}} + "{{type}}": {{bio}} + {{#unless @last}},{{/unless}} + {{/each}} + ], + "requestedAuth": { + "bio": {{bio}}, + "demo": {{demo}}, + "otp": {{otp}}, + "pin": false + }, + "requestSessionKey": "sessionkey", + "transactionID": "{{transactionId}}", + "domainUri": "baseurl", + "env": "{{env}}", + "env": "Staging", + "keyIndex": "string", + "specVersion": "1.0", + "thumbprint": "partnerORinternalthumbprint", + "version": "1.0" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegatedNeg.yml b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegatedNeg.yml new file mode 100644 index 0000000000..4cdcc6c1cd --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthDelegatedNeg.yml @@ -0,0 +1,1319 @@ +BioAuthDelegatedNeg: + auth_BioAuthDelegatedNeg_Biometric_Face_With_Infant_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_01 + description: Biometric kyc delegated face auth with infant UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDelegated_Infant_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_Revoked_VID_Valid_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_02 + description: Bio kyc delegated auth with Face with revoked VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_to_revoke_smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "FACE", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-018" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_invalid_uin_bioSubType: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_03 + description: Bio kyc delegated auth with invalid bioSubType using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "dh363737dbsb", + "bioType": "Iris", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_blank_uin_bioSubType: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_04 + description: Bio kyc delegated auth with blank bioSubType using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "Iris", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Blank_uin_bioType: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_05 + description: Bio kyc delegated auth with blank bioType using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left", + "bioType": "", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_valid_uin_bioType_and_invalid_digitalId_type: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_06 + description: Bio kyc delegated auth with valid bioType and invalid_digitalId_type using valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left", + "bioType": "Iris", + "bioValue": "$LEFTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "dhdhhdh@3647", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-DPM-004" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_invalid_uin_biovalue: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_07 + description: Bio kyc delegated auth with invalid biovalue using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "sgshshsh", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-BIA-001" + } + ] +}' + auth_BioAuthDelegatedNeg_Face_With_FingerBio_uin_Invalid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_08 + description: Bio kyc delegated auth with finger bio value using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$LEFTTHUMB$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-BIA-001" + } + ] +}' + auth_BioAuthDelegatedNeg_Iris_With_FaceBio_uin_Invalid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_09 + description: Bio kyc delegated auth with Iris and face as bio value using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left", + "bioType": "Iris", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-BIA-001" + } + ] +}' + auth_BioAuthDelegatedNeg_Finger_With_FaceBio_uin_Invalid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_10 + description: Bio kyc delegated auth with finger and face as bio value using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left RingFinger", + "bioType": "Finger", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-BIA-001" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_as_FIR_uin_instead_of_Face_uin: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_11 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FIR", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_uin_as_IR_instead_of_IRIS_uin: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_12 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "IR", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_as_FIR_instead_of_Finger_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_13 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Left RingFinger", + "bioType": "FIR", + "bioValue": "$LEFTRINGFINGER$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "SYNCBYTE.MC01A", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Slap", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467175", + "type": "Finger", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_as_IR_instead_of_IRIS_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_14 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "IR", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "SYNCBYTE.MC01A", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Slap", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467175", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_as_FC_instead_of_FACE_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_15 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid VID + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FC", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_invalid_Bio-Type_value_as_FC_instead_of_FACE_UIN: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_16 + description: Bio kyc delegated auth with invalid bioType and invalid bioValue using valid UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FC", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_Lock_uin_Permanent_: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_17 + description: Bio kyc delegated auth using permanetly locked UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_permanent_BioAuth_withValidParameters_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "Iris", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_time_difference_datetime_uin_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_18 + description: Bio kyc delegated auth with time difference between datetime and request time for UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "2022-05-18T12:11:06.641Z", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ] +}' + auth_BioAuthDelegatedNeg_with_dummy_partnerkey_uin: + endPoint: /idauthentication/v1/kyc-auth/delegated/$a2673y3g3grURL$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_19 + description: Bio kyc delegated auth with dummy partnerkey using UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MPA-001" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_Lock_Permanent_uin_Valid_Smoke: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_20 + description: Bio kyc delegated auth with permanently locked UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_permanent_BioAuth_withValidParameters_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "Right", + "bioType": "Iris", + "bioValue": "$RIGHTIRIS$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Iris", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_BioAuthDelegatedNeg_With_Deactivated_UIN: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_21 + description: Bio kyc delegated auth with deactivated UIN + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_InValid_DATETIME: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_22 + description: Bio kyc delegated with auth face without date time + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "123ME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_With_empty_DateTime: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_23 + description: Bio kyc delegated auth with empty date time + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Without_DateTime: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_24 + description: Bio kyc delegated auth without date time + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$REMOVE$", + "deviceProviderID": "1873299273", + "env": "Staging", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_Invalid_ENV: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_25 + description: Bio kyc delegated auth without ENV + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "env": "dgdgh@73", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt2", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-024" + }, + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_missing_ENV: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_26 + description: Bio kyc delegated auth without ENV + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParam_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "env": "$REMOVE$", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Single", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt2", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-024" + }, + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_Empty_ENV: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_27 + description: Bio kyc delegated auth without ENV + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "env": "", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt2", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-024" + }, + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_With_Empty_space_ENV: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_28 + description: Bio kyc delegated auth without ENV + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "env": " ", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt2", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-024" + }, + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_BioAuthDelegatedNeg_Biometric_Face_Without_ENV: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthDelegatedNeg_29 + description: Bio kyc delegated auth without ENV + role: resident + restMethod: post + inputTemplate: ida/BioAuthDelegatedNeg/BioAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_BioAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": true, + "demo": false, + "otp": false, + "identityRequest":{ + "bioSubType": "UNKNOWN", + "bioType": "FACE", + "bioValue": "$FACE$", + "deviceCode": "bc0b6848-6d45-46d1-a9bd-b334410bf823", + "dateTime": "$DATETIME$", + "deviceProviderID": "1873299273", + "deviceServiceID": "", + "deviceServiceVersion": "SB.WIN.001", + "deviceProvider": "SYNCBYTE", + "deviceProviderId": "SYNCBYTE.LTC165", + "deviceSubType": "Full face", + "make": "Logitech", + "model": "4d36e96c-e325-11ce-bfc1-08002be10318", + "serialNo": "78467171", + "type": "Face", + "transactionId": "$TRANSACTIONID$", + "identityRequestTemplate": "ida/BioAuth/BioAuthIdentityEncrypt2", + "identityRequestEncUrl": "/idauthentication/v1/internal/encrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-024" + }, + { + "errorCode": "IDA-MLC-009" + } + ] +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt.hbs b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt.hbs new file mode 100644 index 0000000000..6778a65f63 --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioAuthIdentityEncrypt.hbs @@ -0,0 +1,37 @@ +{ + "biometrics": [ + { + "data": { + "bioSubType": "{{bioSubType}}", + "bioType": "{{bioType}}", + "bioValue": "{{bioValue}}", + "deviceCode": "{{deviceCode}}", + "deviceProviderID": "{{deviceProviderID}}", + "deviceServiceID": "{{deviceServiceID}}", + "deviceServiceVersion": "{{deviceServiceVersion}}", + "digitalId": { + "dateTime": "{{dateTime}}", + "deviceProvider": "{{deviceProvider}}", + "deviceProviderId": "{{deviceProviderID}}", + "deviceSubType": "{{deviceSubType}}", + "make": "{{make}}", + "model": "{{model}}", + "serialNo": "{{serialNo}}", + "type": "{{type}}" + }, + "domainUri": "$DOMAINURI$", + "env": "Staging", + "purpose": "AUTH", + "qualityScore": 70, + "requestedScore": 70, + "timestamp": "$DATETIME$", + "transactionId": "{{transactionId}}" + }, + "hash": "hash", + "sessionKey": "sessionKey", + "thumbprint": "IDAFIRthumbprint" + } + ], + "timestamp": "$DATETIME$", + "transactionID": "{{transactionId}}" + } \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioKYCAuthDelegatedResult.hbs b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioKYCAuthDelegatedResult.hbs new file mode 100644 index 0000000000..e6b2c5b20d --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthDelegatedNeg/BioKYCAuthDelegatedResult.hbs @@ -0,0 +1,5 @@ +{ + "response": { + "kycStatus": "{{kycStatus}}" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/BioAuthKycExchange/BioAuthKYCExchange.yml b/api-test/src/main/resources/ida/BioAuthKycExchange/BioAuthKYCExchange.yml new file mode 100644 index 0000000000..70cd026e17 --- /dev/null +++ b/api-test/src/main/resources/ida/BioAuthKycExchange/BioAuthKYCExchange.yml @@ -0,0 +1,669 @@ +BioAuthKycExchange: + auth_BioAuthKycExchange_Biometric_Face_With_Valid_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_01 + description: Biometric face auth KYC Exchange with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_Face_With_Valid_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_Face_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_02 + description: Biometric face KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_Face_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftIris_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_03 + description: Biometric left iris KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_UIN_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftIris_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftIris_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_04 + description: Biometric left iris KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftIris_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightIris_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_05 + description: Biometric Right Iris KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_rightIris_Auth_UIN_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightIris_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightIris_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_06 + description: Biometric Right Iris KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_rightIris_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightIris_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftIndexFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_07 + description: Biometric LeftIndexFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftIndexFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftIndexFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_08 + description: Biometric LeftIndexFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftIndexFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightIndexFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_09 + description: Biometric LeftIndexFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightIndexFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_10 + description: Biometric RightIndexFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightIndexFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightMiddleFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_11 + description: Biometric RightMiddleFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightMiddleFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_12 + description: Biometric RightMiddleFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightMiddleFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftMiddleFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_13 + description: Biometric LeftMiddleFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftMiddleFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftMiddleFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_14 + description: Biometric LeftMiddleFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftMiddleFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightLittleFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_15 + description: Biometric RightLittleFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightLittleFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_16 + description: Biometric RightLittleFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightLittleFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftLittleFinger_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_17 + description: Biometric LeftLittleFinger KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftLittleFinger_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_18 + description: Biometric LeftLittleFinger KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftLittleFinger_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightThumb_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_19 + description: Biometric RightThumb KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightThumb_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_RightThumb_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_20 + description: Biometric RightThumb KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_RightThumb_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftThumb_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_21 + description: Biometric LeftThumb KYC exchange auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftThumb_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_22 + description: Biometric RightThumb KYC exchange auth with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/BioAuthKycExchange/BioKYCAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_BioAuthKycExchange_Biometric_with_already_used_kyc_Token_VID_Neg: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_23 + description: Kyc exchange with already used token + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_bio_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftThumb_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-KYE-003" + } + ] +}' + auth_BioAuthKycExchange_Biometric_with_already_used_kyc_Token_UIN_Neg: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_24 + description: Kyc exchange with already used token + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_Bio_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_LeftThumb_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-KYE-003" + } + ] +}' + auth_BioAuthKycExchange_Biometric_using_different_individualIdKycAuth_UIN_Neg: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_25 + description: Kyc exchange with different individualId with random UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_EkycDemo_Auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_forkYCexchangeWithRandomUIN_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-KYE-007" + } + ] +}' + auth_BioAuthKycExchange_Biometric_using_different_individualIdKycAuth_VID_Neg: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_26 + description: Kyc exchange with different individualId with random VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_to_test_hotlist_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_forkYCexchangeWithRandomVID_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-KYE-007" + } + ] +}' + auth_BioAuthKycExchange_Biometric_differentIDType_Neg: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_BioAuthKycExchange_27 + description: KYC exchange auth with differentId type VID with the UIN used in kyc auth + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/BioAuthKycExchange/BioAuthKYCExchange + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_kycDelegated_differentIdType_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:BioAuthDelegated_Biometric_differentIdTypeForKycExchange_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-KYE-007" + } + ] +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DelegateError.hbs b/api-test/src/main/resources/ida/DelegateError.hbs new file mode 100644 index 0000000000..21b6f6589c --- /dev/null +++ b/api-test/src/main/resources/ida/DelegateError.hbs @@ -0,0 +1,10 @@ +{ + "errors": [ + {{#each errors}} + { + "errorCode": "{{errorCode}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.hbs new file mode 100644 index 0000000000..78c02c570f --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.hbs @@ -0,0 +1,23 @@ +{ + "id": "mosip.identity.kycauth", + "consentObtained": true, + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "request": "data", + "requestHMAC": "hmac", + "requestTime": "{{requestTime}}", + "requestedAuth": { + "bio": {{bio}}, + "demo": {{demo}}, + "otp": {{otp}}, + "pin": false + }, + "requestSessionKey": "sessionkey", + "transactionID": "{{transactionId}}", + "domainUri": "baseurl", + "env": "Staging", + "keyIndex": "string", + "specVersion": "1.0", + "thumbprint": "partnerORinternalthumbprint", + "version": "1.0" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.yml b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.yml new file mode 100644 index 0000000000..af6cc73d3d --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegated.yml @@ -0,0 +1,561 @@ +DemoAuthDelegated: + auth_DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_UIN_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_01 + description: Demo auth kyc delegated using valid dob and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1990/09/28", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_VID_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_02 + description: Demo auth kyc delegated using valid dob with valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_EkycDemo_Dob_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_Infant_Uin_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_03 + description: Demo auth kyc delegated using dob with infant UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "2023/09/28", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_Email_Valid_Smoke_Pos_VID_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_04 + description: Demo auth kyc delegated using email with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_Email_Valid_Smoke_Poss_VID_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_05 + description: Demo auth kyc delegated with email using valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_gender_Valid_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_06 + description: Demo auth kyc delegated using valid gender and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "MLE" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptGender" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_gender_Valid_Smoke_Pos_VID_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_07 + description: Demo auth kyc delegated using valid gender and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "MLE" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptGender" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_gender_Valid_Smoke_Pos_VID_with_RS_DOB_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_08 + description: Demo auth kyc delegated using valid dob and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_EkycDemo_Dob_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name1_Valid_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_10 + description: Demo auth kyc delegated using valid name and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "$PRIMARYLANG$", + "value": "Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name2_Valid_titleFromAdmin_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_11 + description: Demo auth kyc delegated using valid name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "eng", + "value": "Miss-TitleFromServer Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name3_Valid_titleFromAdmin_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_12 + description: Demo auth kyc delegated using valid name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "eng", + "value": "Mr-TitleFromServer Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name4_Valid_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_13 + description: Demo auth kyc delegated using name and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "$PRIMARYLANG$", + "value": "Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name5_Valid_titleFromAdmin_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_14 + description: Demo auth kyc delegated using name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "eng", + "value": "Miss-TitleFromServer. Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name6_Valid_titleFromAdmin_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_15 + description: Demo auth kyc delegated using valid name with title and UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "eng", + "value": "Miss-TitleFromServer. Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_same_Name7_Valid_titleFromAdmin_uin_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_16 + description: Demo auth kyc delegated using name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "eng", + "value": "Miss-TitleFromServer. Lisa.GN" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_Name_Valid_Smoke_VID_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_17 + description: Demo auth kyc delegated using valid name and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "$PRIMARYLANG$", + "value": "TEST_FULLNAMEeng" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncryptName" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_age_Valid_Smoke_VID_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_19 + description: Demo auth kyc delegated using valid age and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "41", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_PhoneNumber_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_20 + description: Demo auth kyc delegated using valid phone number and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_ValidParam_smoke_Pos_PHONE$", +"key": "phoneNumber", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_with_Draft_audit_UIN_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_21 + description: Demo auth kyc delegated using dob with drafted UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GetDraft_all_valid_smoke_sid_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1992/04/15", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' + auth_DemoAuthDelegated_DemoAuth_with_phone_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegated_22 + description: Demo auth kyc delegated using valid phone and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthDelegated/DemoAuthDelegated + outputTemplate: ida/DemoAuthDelegated/DemoAuthDelegatedResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_PHONE$", +"key": "phone", + "identityRequestTemplate": "ida/DemoAuthDelegated/DemoIdentityEncrypt" + } + }' + output: '{ + "kycStatus": "true" +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegatedResult.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegatedResult.hbs new file mode 100644 index 0000000000..e6b2c5b20d --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoAuthDelegatedResult.hbs @@ -0,0 +1,5 @@ +{ + "response": { + "kycStatus": "{{kycStatus}}" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncrypt.hbs new file mode 100644 index 0000000000..51e1fa77f5 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncrypt.hbs @@ -0,0 +1,6 @@ +{ + "demographics": { + "{{key}}": "{{value}}" + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGender.hbs new file mode 100644 index 0000000000..9a90e58ede --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGender.hbs @@ -0,0 +1,14 @@ +{ + "demographics": { + "gender": [ + {{#each gender}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGenderRS.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGenderRS.hbs new file mode 100644 index 0000000000..2e57373fd1 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptGenderRS.hbs @@ -0,0 +1,23 @@ +{ + "demographics": { + "gender": [ + {{#each gender}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ], + "residenceStatus": [ + {{#each residenceStatus}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "{{requestTime}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptInvalid.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptInvalid.hbs new file mode 100644 index 0000000000..51e1fa77f5 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptInvalid.hbs @@ -0,0 +1,6 @@ +{ + "demographics": { + "{{key}}": "{{value}}" + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptName.hbs new file mode 100644 index 0000000000..38ceeedacb --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegated/DemoIdentityEncryptName.hbs @@ -0,0 +1,14 @@ +{ + "demographics": { + "name": [ + {{#each name}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegated.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegated.hbs new file mode 100644 index 0000000000..78c02c570f --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegated.hbs @@ -0,0 +1,23 @@ +{ + "id": "mosip.identity.kycauth", + "consentObtained": true, + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "request": "data", + "requestHMAC": "hmac", + "requestTime": "{{requestTime}}", + "requestedAuth": { + "bio": {{bio}}, + "demo": {{demo}}, + "otp": {{otp}}, + "pin": false + }, + "requestSessionKey": "sessionkey", + "transactionID": "{{transactionId}}", + "domainUri": "baseurl", + "env": "Staging", + "keyIndex": "string", + "specVersion": "1.0", + "thumbprint": "partnerORinternalthumbprint", + "version": "1.0" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedNeg.yml b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedNeg.yml new file mode 100644 index 0000000000..bac7a4726f --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedNeg.yml @@ -0,0 +1,1304 @@ +DemoAuthDelegatedNeg: + auth_DemoAuthDelegatedNeg_DOB_InValid_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_01 + description: Demo auth kyc delegated using valid dob and invalid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$IDlock_DemoAuth_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-002" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_SpaceValue_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_02 + description: Demo auth kyc delegated using valid dob with space as UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": " ", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Invalid_Past_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_03 + description: Demo auth kyc delegated using valid dob,valid VID and past timestamp + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "2022-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Invalid_Future_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_04 + description: Demo auth kyc delegated using valid dob,valid VID and future timestamp + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "2053-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Empty_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_05 + description: Demo auth kyc delegated using valid dob,valid VID and empty timestamp + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_InValid_uin_Dateofbirth: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_06 + description: Demo auth kyc delegated using invalid dob and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "04-11-1965", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_InValid_Dateofbirth_with_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_07 + description: Demo auth kyc delegated using invalid dob and valid VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "04-11-1965", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_Email_Invalid_Past_Timestamp_VID_Neg_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_08 + description: Demo auth kyc delegated using email with valid VID and past timestamp + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "2022-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_Email_Invalid_Future_Timestamp_VID_Neg_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_09 + description: Demo auth kyc delegated with email using valid VID and future timestamp + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "2052-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_Email_InValid_uin_Email: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_10 + description: Demo auth kyc delegated with invalid email using valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "raksdgdg@@#$%RFFGVgb", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_Email_InValid_Email_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_11 + description: Demo auth kyc delegated with invalid email using valid VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "raksdgdg@@#$%RFFGVgb", +"key": "emailId", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_InValid_Gender_Invalid_RS: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_12 + description: Demo auth kyc delegated using invalid gender,invalid residence status and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "M@@33E" + } + ], + "residenceStatus": [ + { + "language": "$PRIMARYLANG$", + "value": "Ner" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-003" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_Valid_Gender_Invalid_RS: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_13 + description: Demo auth kyc delegated using valid gender, invalid residence status and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "MLE" + } + ], + "residenceStatus": [ + { + "language": "$PRIMARYLANG$", + "value": "Ner" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-003" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_InValid_Gender_valid_RS: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_14 + description: Demo auth kyc delegated using invalid gender ,valid residence status and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "ML@@#E" + } + ], + "residenceStatus": [ + { + "language": "$PRIMARYLANG$", + "value": "Non-Foreigner" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-003" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_InValid_Gender_valid_RS_with_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_15 + description: Demo auth kyc delegated using invalid gender,valid residence status and valid VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "ML@@#E" + } + ], + "residenceStatus": [ + { + "language": "$PRIMARYLANG$", + "value": "Non-Foreigner" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-003" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_InValid_Lang_Valid_Gender: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_16 + description: Demo auth kyc delegated using valid gender,invalid language code and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$363gsbsn$", + "value": "MLE" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_gender_InValid_LangCode_with_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_17 + description: Demo auth kyc delegated using invalid gender language code and valid perpetual VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$dhdg212$", + "value": "MLE" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_InValid_gender_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_18 + description: Demo auth kyc delegated using invalid gender and valid perpetual VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "EHEHDB@393939" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_InValid_uin_gender: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_19 + description: Demo auth kyc delegated using invalid gender and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "EHEHDB@393939" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_InValid_Name_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_20 + description: Demo auth kyc delegated using invalid name and valid perpetual VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "name": [ + { + "language": "$PRIMARYLANG$", + "value": "F@@@@ddffR" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptName" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_invalid_age_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_21 + description: Demo auth kyc delegated using invalid age and valid perpetual VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "ehdhdh", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_age_InValid_uin: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_22 + description: Demo auth kyc delegated using invalid age and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "ehdhdh", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_PhoneNumber_InValid_uin_PhoneNumber: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_23 + description: Demo auth kyc delegated using invalid phone number and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "7019878538dkssjw736352521g", +"key": "phoneNumber", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_PhoneNumber_InValid_PhoneNumber_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_24 + description: Demo auth kyc delegated using invalid phone number and valid perpetual VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "7019878538dkssjw736352521g", +"key": "phoneNumber", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_InValid_individualId_VID: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_26 + description: Demo auth kyc delegated using valid dob and invalid VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "431592366363737337383388037$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-004" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Missing_individualId: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_27 + description: Demo auth kyc delegated using valid dob and without individualId + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$REMOVE$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Blank_individualId: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_28 + description: Demo auth kyc delegated using valid dob and blank individualId + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Invalid_transactionId_uin_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_29 + description: Demo auth kyc delegated using valid dob,invalid transactionId and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "123453636372829267890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Blank_transactionId_uin_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_30 + description: Demo auth kyc delegated using valid dob,blank transactionId and valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Unlock_Valid_Smoke_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_31 + description: Demo auth kyc delegated using valid dob and with locked UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forLockedUIN_DemoDelegated_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Lock_Permanent_Valid_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_32 + description: Demo auth kyc delegated using valid dob and on locking UIN permanently + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_permanent_DemoAuth_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_DemoAuthDelegatedNeg_revoke_vid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_33 + description: Demo auth kyc delegated using revoked VID + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_to_revoke_smoke_Perpetual_sid_vid$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-018" + } + ] +}' + auth_DemoAuthDelegatedNeg_dummy_partnerkey_uin_Pos: + endPoint: /idauthentication/v1/kyc-auth/delegated/zY22wDwZxwMdlxTZRWrM50m4zBoOiMyUGY/45362768/27822828287 + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_34 + description: Demo auth kyc delegated using dummy parterner key and using valid UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_permanent_DemoAuth_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MPA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Unlock_AllValid_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_35 + description: Demo auth kyc delegated using valid dob on locking UIN and unlocking demo auth + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_UIN_Unlock_DemoAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_DemoAuthDelegatedNeg_DOB_Lock_Permanent_AllValid_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_36 + description: Demo auth kyc delegated using valid dob and with locked UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_Lock_permanent_DemoAuth_withValidParams_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-019" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_Deactivated_UIN: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_37 + description: Demo auth kyc delegated using deactivated UIN + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/error + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_deactivate_UIN_smoke_sid_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "1970/07/08", +"key": "dob", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-018" + } + ] +}' + auth_DemoAuthDelegatedNeg_valid_gender_invalid_individualIdType: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_38 + description: Demo auth kyc delegated using valid gender with incorrect individualId type + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "VID", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "gender": [ + { + "language": "$PRIMARYLANG$", + "value": "MLE" + } + ], + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MLC-006" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_zero_age_value_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_39 + description: Demo auth kyc delegated with zero age + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_with_zero_age_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "0", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_negative_age_value_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_40 + description: Demo auth kyc delegated with negative age + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_with_negative_age_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "-10", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_age_greater_than_calculated_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_41 + description: Demo auth kyc delegated with age greater than the calculated value + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_with_age_more_than_calculated_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "80", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_age_below_calculated_value_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_42 + description: Demo auth kyc delegated with age below the calculated value + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_with_age_below_calculated_value_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "10", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-DEA-001" + } + ] +}' + auth_DemoAuthDelegatedNeg_with_wrongPartnerKeyUrl_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/Z0kPjifb7xsv8oEsv0B5YDZqChr7TuBtToVbgARGkO8Jy6U0/auth_pid17424601504/959765 + uniqueIdentifier: TC_IDA_DemoAuthDelegatedNeg_43 + description: Demo auth kyc delegated wrong partnerkeyurl + role: resident + restMethod: post + inputTemplate: ida/DemoAuthDelegatedNeg/DemoAuthDelegated + outputTemplate: ida/DelegateError + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_fordemo_smoke_Pos_UIN$", + "transactionId": "1234567890", + "individualIdType": "UIN", + "bio": false, + "demo": true, + "otp": false, + "identityRequest":{ + "value": "10", +"key": "age", + "identityRequestTemplate": "ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-007" + }, + { + "errorCode": "IDA-MPA-001" + } + ] +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedResult.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedResult.hbs new file mode 100644 index 0000000000..5906830bd0 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoAuthDelegatedResult.hbs @@ -0,0 +1,5 @@ +{ + "response": { + "authStatus": "{{authStatus}}" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt.hbs new file mode 100644 index 0000000000..51e1fa77f5 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncrypt.hbs @@ -0,0 +1,6 @@ +{ + "demographics": { + "{{key}}": "{{value}}" + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender.hbs new file mode 100644 index 0000000000..9a90e58ede --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGender.hbs @@ -0,0 +1,14 @@ +{ + "demographics": { + "gender": [ + {{#each gender}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS.hbs new file mode 100644 index 0000000000..2e57373fd1 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptGenderRS.hbs @@ -0,0 +1,23 @@ +{ + "demographics": { + "gender": [ + {{#each gender}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ], + "residenceStatus": [ + {{#each residenceStatus}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "{{requestTime}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid.hbs new file mode 100644 index 0000000000..51e1fa77f5 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptInvalid.hbs @@ -0,0 +1,6 @@ +{ + "demographics": { + "{{key}}": "{{value}}" + }, + "timestamp": "{{timestamp}}" +} diff --git a/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptName.hbs b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptName.hbs new file mode 100644 index 0000000000..0267349b60 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthDelegatedNeg/DemoIdentityEncryptName.hbs @@ -0,0 +1,14 @@ +{ + "demographics": { + "name": [ + {{#each name}} + { + "language": "{{language}}", + "value": "{{value}}" + } + {{#unless @last}},{{/unless}} + {{/each}} + ] + }, + "timestamp": "2019-03-16T10:01:57.086+05:30" +} diff --git a/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.hbs b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.hbs new file mode 100644 index 0000000000..0a3bcdeba3 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.hbs @@ -0,0 +1,23 @@ +{ + "id": "{{id}}", + "version": "{{version}}", + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "transactionID": "{{transactionID}}", + "requestTime": "{{requestTime}}", + "kycToken": "{{kycToken}}", + "consentObtained": [ + {{#each consentObtained}} + "{{consentObtainedValue}}" + {{#unless @last}},{{/unless}} + {{/each}} + ], + "locales": [ + {{#each locales}} + "{{localesValue}}" + {{#unless @last}},{{/unless}} + {{/each}} + ], + "respType": "{{respType}}", + "metadata": {} +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.yml b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.yml new file mode 100644 index 0000000000..0b2cbbd911 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchange.yml @@ -0,0 +1,481 @@ +DemoAuthKycExchange: + auth_DemoAuthKycExchange_DemoAuth_DOB_Valid_Smoke_UIN: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_01 + description: Demo auth kyc exchange using valid dob and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_UIN_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_DOB_Valid_Smoke_VID_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_02 + description: Demo auth kyc exchange using valid dob with valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_EkycDemo_Dob_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_VID_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_DOB_Valid_Smoke_Infant_Uin_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_03 + description: Demo auth kyc exchange using dob with infant UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_Infant_Uin_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_Email_Valid_Smoke_Pos_VID: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_04 + description: Demo auth kyc exchange using email with valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_Email_Valid_Smoke_Pos_VID_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_Email_Valid_Smoke_Poss_VID: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_05 + description: Demo auth kyc exchange with email using valid VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_Email_Valid_Smoke_Poss_VID_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_gender_Valid_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_06 + description: Demo auth kyc exchange using valid gender and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_gender_Valid_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_gender_Valid_Smoke_Pos_VID: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_07 + description: Demo auth kyc exchange using valid gender and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_gender_Valid_Smoke_Pos_VID_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_gender_Valid_Smoke_Pos_VID_with_RS_DOB: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_08 + description: Demo auth kyc exchange using valid dob and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_for_EkycDemo_Dob_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_gender_Valid_Smoke_Pos_VID_with_RS_DOB_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name1_Valid_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_10 + description: Demo auth kyc exchange using valid name and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name1_Valid_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name2_Valid_titleFromAdmin_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_11 + description: Demo auth kyc exchange using valid name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name2_Valid_titleFromAdmin_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name3_Valid_titleFromAdmin_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_12 + description: Demo auth kyc exchange using valid name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name3_Valid_titleFromAdmin_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name4_Valid_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_13 + description: Demo auth kyc exchange using name and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name4_Valid_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name5_Valid_titleFromAdmin_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_14 + description: Demo auth kyc exchange using name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name5_Valid_titleFromAdmin_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name6_Valid_titleFromAdmin_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_15 + description: Demo auth kyc exchange using valid name with title and UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name6_Valid_titleFromAdmin_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_same_Name7_Valid_titleFromAdmin_uin_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_16 + description: Demo auth kyc exchange using name with title and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_same_Name7_Valid_titleFromAdmin_uin_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_Name_Valid_Smoke_VID_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_17 + description: Demo auth kyc exchange using valid name and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_Name_Valid_Smoke_VID_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_age_Valid_Smoke_VID_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_19 + description: Demo auth kyc exchange using valid age and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_age_Valid_Smoke_VID_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_PhoneNumber_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_20 + description: Demo auth kyc exchange using valid phone number and valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_PhoneNumber_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_DOB_Valid_Smoke_with_Draft_audit_UIN_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_21 + description: Demo auth kyc exchange using dob with drafted UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GetDraft_all_valid_smoke_sid_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_DOB_Valid_Smoke_with_Draft_audit_UIN_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_DemoAuthKycExchange_DemoAuth_with_phone: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_DemoAuthKycExchange_22 + description: Demo auth kyc exchange using valid phone and valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchange + outputTemplate: ida/DemoAuthKycExchange/DemoAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forDemoDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:DemoAuthDelegated_DemoAuth_with_phone_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchangeResult.hbs b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchangeResult.hbs new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/api-test/src/main/resources/ida/DemoAuthKycExchange/DemoAuthKycExchangeResult.hbs @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml b/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml index 97a773b8f4..733fb4b33a 100644 --- a/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml +++ b/api-test/src/main/resources/ida/GenerateVID/createGenerateVID.yml @@ -441,7 +441,7 @@ GenerateVID: "maskedEmail": "$IGNORE$" } }' - auth_GenerateVID_for_kycDelegated_bio_Smoke_sid: + auth_GenerateVID_for_kycDelegated_bio_sid: endPoint: /resident/v1/vid uniqueIdentifier: TC_IDA_GenerateVID_14 description: generate Vid for kyc delegated bio for dob @@ -475,40 +475,6 @@ GenerateVID: "maskedEmail": "$IGNORE$" } }' -# auth_GenerateVID_for_kycDelegated_bio_leftIris_sid: -# endPoint: /resident/v1/vid -# uniqueIdentifier: TC_IDA_GenerateVID_15 -# description: generate Vid for kyc delegated for left iris -# role: resident -# checkErrorsOnlyInResponse: true -# restMethod: post -# inputTemplate: ida/GenerateVID/createGenerateVID -# outputTemplate: ida/GenerateVID/createGenerateVIDResult -# input: '{ -# "transactionID": "$TRANSACTIONID$", -# "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_UIN$", -# "individualIdType": "UIN", -# "requesttime": "$TIMESTAMP$", -# "id": "mosip.resident.vid", -# "version": "v1", -# "vidType": "Perpetual", -# "otp": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_EMAIL$", -# "sendOtp":{ -# "transactionID": "$TRANSACTIONID$", -# "requestTime": "$TIMESTAMP$", -# "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_UIN$", -# "individualIdType": "UIN", -# "sendOtpReqTemplate": "ida/SendOTP/createSendOTP", -# "sendOtpEndPoint": "/resident/v1/req/otp" -# } -# }' -# output: '{ -# "sendOtpResp":{ -# "maskedMobile": "$IGNORE$", -# "sendOtpResTemplate":"ida/SendOTP/createSendOTPResult", -# "maskedEmail": "$IGNORE$" -# } -#}' auth_GenerateVID_for_kycDelegated_bio_rightIris_sid: endPoint: /resident/v1/vid uniqueIdentifier: TC_IDA_GenerateVID_16 @@ -520,17 +486,17 @@ GenerateVID: outputTemplate: ida/GenerateVID/createGenerateVIDResult input: '{ "transactionID": "$TRANSACTIONID$", - "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_UIN$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_smoke_Pos_UIN$", "individualIdType": "UIN", "requesttime": "$TIMESTAMP$", "id": "mosip.resident.vid", "version": "v1", "vidType": "Perpetual", - "otp": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_EMAIL$", + "otp": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_smoke_Pos_EMAIL$", "sendOtp":{ "transactionID": "$TRANSACTIONID$", "requestTime": "$TIMESTAMP$", - "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_Pos_UIN$", + "individualId": "$ID:AddIdentity_For_Kyc_Delegated_leftIris_Auth_VID_smoke_Pos_UIN$", "individualIdType": "UIN", "sendOtpReqTemplate": "ida/SendOTP/createSendOTP", "sendOtpEndPoint": "/resident/v1/req/otp" diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.hbs b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.hbs new file mode 100644 index 0000000000..78c02c570f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.hbs @@ -0,0 +1,23 @@ +{ + "id": "mosip.identity.kycauth", + "consentObtained": true, + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "request": "data", + "requestHMAC": "hmac", + "requestTime": "{{requestTime}}", + "requestedAuth": { + "bio": {{bio}}, + "demo": {{demo}}, + "otp": {{otp}}, + "pin": false + }, + "requestSessionKey": "sessionkey", + "transactionID": "{{transactionId}}", + "domainUri": "baseurl", + "env": "Staging", + "keyIndex": "string", + "specVersion": "1.0", + "thumbprint": "partnerORinternalthumbprint", + "version": "1.0" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.yml b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.yml new file mode 100644 index 0000000000..153171d36f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegated.yml @@ -0,0 +1,205 @@ +OtpAuthDelegated: + auth_OtpAuthDelegated_OTP_Auth_With_Valid_UIN_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_01 + description: Otp delegated auth with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_forOtpDelegated_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forOtpDelegated_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forOtpDelegated_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegated/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' + auth_OtpAuthDelegated_OTP_Auth_With_Valid_VID_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_02 + description: Otp delegated auth with valid using VID + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegated/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' + auth_OtpAuthDelegated_OTP_Auth_With_Optional_individualIdType_VID_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_03 + description: OTP delegated auth with optional individualIdType using VID + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuth/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' + auth_OtpAuthDelegated_OTP_Auth_With_Missing_Optional_Field_individualIdType_VID_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_04 + description: Otp delegated auth with missing optional field individualIdType using VID + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "$REMOVE$", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegated/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' + auth_OtpAuthDelegated_OTP_Auth_With_locked_email_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_05 + description: Otp delegated auth with locked email using valid UIN + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParameters_toLock_email_perfromOtpEmail_auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_email_perfromOtpEmail_auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_email_perfromOtpEmail_auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegated/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' + auth_OtpAuthDelegated_OTP_Auth_With_locked_phone_Smoke_Pos_Sid: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegated_06 + description: Otp delegated auth with locked phone using valid UIN + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: ida/OtpAuthDelegated/OtpAuthDelegated + outputTemplate: ida/OtpAuthDelegated/OtpAuthDelegatedResult + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParameters_toLock_phone_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_phone_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_phone_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegated/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegated/OtpIdentityEncrypt.json" + } + }' + output: '{ + "kycStatus": "true", + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegated/sendOtpRes" + } +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegatedResult.hbs b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegatedResult.hbs new file mode 100644 index 0000000000..e6b2c5b20d --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpAuthDelegatedResult.hbs @@ -0,0 +1,5 @@ +{ + "response": { + "kycStatus": "{{kycStatus}}" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/OtpIdentityEncrypt.json b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpIdentityEncrypt.json new file mode 100644 index 0000000000..07fc4e33e3 --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/OtpIdentityEncrypt.json @@ -0,0 +1,4 @@ +{ + "timestamp": "{{timestamp}}", + "otp": "{{otp}}" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/Sendotperror.hbs b/api-test/src/main/resources/ida/OtpAuthDelegated/Sendotperror.hbs new file mode 100644 index 0000000000..5b9bb7665f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/Sendotperror.hbs @@ -0,0 +1,17 @@ +{ + "id": "$IGNORE$", + "version": "$IGNORE$", + "transactionID": "$IGNORE$", + "responseTime": "$IGNORE$", + "errors": [ + {{#each errors}} + { + "errorCode": "{{errorCode}}", + "errorMessage": "$IGNORE$", + "actionMessage": "$IGNORE$" + } + {{#unless @last}},{{/unless}} + {{/each}} + ], + "response": "$IGNORE$" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtp.hbs b/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtp.hbs new file mode 100644 index 0000000000..a5f7f11d1f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtp.hbs @@ -0,0 +1,12 @@ +{ + "id": "mosip.identity.otp", + "version": "1.0", + "transactionID": "{{transactionID}}", + "requestTime": "{{requestTime}}", + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "otpChannel": [ + "EMAIL", + "PHONE" + ] +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtpRes.hbs b/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtpRes.hbs new file mode 100644 index 0000000000..7b34b36ccd --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegated/sendOtpRes.hbs @@ -0,0 +1,11 @@ +{ + "id": "$IGNORE$", + "version": "$IGNORE$", + "transactionID": "$IGNORE$", + "errors": "$IGNORE$", + "responseTime": "$IGNORE$", + "response": { + "maskedMobile": "$IGNORE$", + "maskedEmail": "$IGNORE$" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.hbs b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.hbs new file mode 100644 index 0000000000..78c02c570f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.hbs @@ -0,0 +1,23 @@ +{ + "id": "mosip.identity.kycauth", + "consentObtained": true, + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "request": "data", + "requestHMAC": "hmac", + "requestTime": "{{requestTime}}", + "requestedAuth": { + "bio": {{bio}}, + "demo": {{demo}}, + "otp": {{otp}}, + "pin": false + }, + "requestSessionKey": "sessionkey", + "transactionID": "{{transactionId}}", + "domainUri": "baseurl", + "env": "Staging", + "keyIndex": "string", + "specVersion": "1.0", + "thumbprint": "partnerORinternalthumbprint", + "version": "1.0" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.yml b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.yml new file mode 100644 index 0000000000..b87885771f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg.yml @@ -0,0 +1,825 @@ +OtpAuthDelegatedNegNeg: + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Infant_UIN_Smoke_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_01 + description: Otp delegated auth with Infant using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_Infant_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Infant_locked_UIN_Smoke_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_02 + description: Otp delegated auth with Infant locked UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_with_Infant_which_locked_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-011" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Past_Timestamp_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_03 + description: Otp delegated auth with invalid Past Timestamp using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "2022-05-19T06:29:44.809Z", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Past_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_04 + description: Otp delegated auth with invalid Past Timestamp using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "2022-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Future_Timestamp_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_05 + description: Otp delegated auth with invalid future timestamp using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "2052-05-19T06:29:44.809Z", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Future_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_06 + description: Otp delegated auth with invalid future timestamp using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "2052-05-19T06:29:44.809Z", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-001" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Empty_Timestamp_UIN_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_07 + description: Otp delegated auth with invalid empty timestamp using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_Empty_Timestamp_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_08 + description: Otp delegated auth with invalid empty timestamp using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_revoke_VID_Smoke_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_09 + description: Otp delegated auth with revoked VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_create_vid_using_uin_for_revoke_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_to_revoke_smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_to_revoke_smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: ' { + "errors": [ + { + "errorCode": "IDA-MLC-018" + } + ], + "sendOtpResp": { + "sendOtpResTemplate": "ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_individualId_UIN_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_10 + description: Otp delegated auth with invalid individualId using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "@@###cndjdhe77473838", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-002", + "errorMessage": "Invalid UIN", + "actionMessage": "$IGNORE$" + } + ], + "sendOtpResp":{ + "transactionID": "$TRANSACTIONID$", + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Blank_individualId_uin_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_OtpAuthDelegatedNeg_11 + description: Otp delegated auth with blank individualId using uin + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "transactionID": "$TRANSACTIONID$", + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Blank_individualId_VID_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_12 + description: Otp delegated auth with blank individualId using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "transactionID": "$TRANSACTIONID$", + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Missing_individualId_uin_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_13 + description: Otp delegated auth with missing individualId using UIN + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$REMOVE$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "transactionID": "$TRANSACTIONID$", + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Missing_individualId_VID_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_14 + description: OTP delegated auth with missing individualId using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$REMOVE$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "transactionID": "$TRANSACTIONID$", + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_transactionId_uin_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_15 + description: OTP delegated auth with invalid transactionId using uin + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "337@@@@%%^^&&**", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuth/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ], + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Invalid_transactionId_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_16 + description: OTP delegated auth with invalid transactionId using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$123@@@@@", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ], + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Blank_transactionId_uin_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_17 + description: OTP delegated auth with blank transactionId using uin + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Blank_transactionId_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_18 + description: OTP delegated auth with blank transactionId using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_different_transactionId_uin_neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_19 + description: OTP delegated auth with different transactionId using uin + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "transactionId": "76544ddffgg@@@3444", + "individualIdType": "UIN", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_For_Otp_Auth_smoke_Pos_UIN$", + "individualIdType": "UIN", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-009" + } + ], + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_Blank_individualIdType_VID_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_20 + description: OTP delegated auth with blank individualIdType using VID + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "$ID:AddIdentity_ValidParam_smoke_Pos_EMAIL$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuth/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-MLC-006" + } + ], + "kycStatus": false, + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_InValid_OTP_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_22 + description: Otp delegated auth with invalid OTP + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "26363633", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-OTA-004" + } + ], + "kycStatus": false, + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' + auth_OtpAuthDelegatedNeg_OTP_Auth_With_WRONG_OTP_Neg: + endPoint: /idauthentication/v1/kyc-auth/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthDelegatedNeg_23 + description: Otp delegated auth with wrong OTP + role: resident + restMethod: post + inputTemplate: ida/OtpAuthDelegatedNeg/OtpAuthDelegatedNeg + outputTemplate: ida/DelegateError + input: '{ + "otpChannel": "263@#$63633", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionId": "$TRANSACTIONID$", + "individualIdType": "VID", + "bio": false, + "demo": false, + "otp": true, + "sendOtp":{ + "transactionID": "$TRANSACTIONID$", + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "individualIdType": "VID", + "sendOtpReqTemplate": "ida/OtpAuthDelegatedNeg/sendOtp", + "sendOtpEndPoint": "/idauthentication/v1/otp/$partnerKeyURL$", + "otpIdentyEnryptRequestPath": "ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json" + } + }' + output: '{ + "errors": [ + { + "errorCode": "IDA-OTA-004" + } + ], + "kycStatus": false, + "sendOtpResp":{ + "sendOtpResTemplate":"ida/OtpAuthDelegatedNeg/sendOtpRes" + } +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json new file mode 100644 index 0000000000..07fc4e33e3 --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/OtpIdentityEncrypt.json @@ -0,0 +1,4 @@ +{ + "timestamp": "{{timestamp}}", + "otp": "{{otp}}" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/Sendotperror.hbs b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/Sendotperror.hbs new file mode 100644 index 0000000000..5b9bb7665f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/Sendotperror.hbs @@ -0,0 +1,17 @@ +{ + "id": "$IGNORE$", + "version": "$IGNORE$", + "transactionID": "$IGNORE$", + "responseTime": "$IGNORE$", + "errors": [ + {{#each errors}} + { + "errorCode": "{{errorCode}}", + "errorMessage": "$IGNORE$", + "actionMessage": "$IGNORE$" + } + {{#unless @last}},{{/unless}} + {{/each}} + ], + "response": "$IGNORE$" +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtp.hbs b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtp.hbs new file mode 100644 index 0000000000..a5f7f11d1f --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtp.hbs @@ -0,0 +1,12 @@ +{ + "id": "mosip.identity.otp", + "version": "1.0", + "transactionID": "{{transactionID}}", + "requestTime": "{{requestTime}}", + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "otpChannel": [ + "EMAIL", + "PHONE" + ] +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtpRes.hbs b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtpRes.hbs new file mode 100644 index 0000000000..7b34b36ccd --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthDelegatedNeg/sendOtpRes.hbs @@ -0,0 +1,11 @@ +{ + "id": "$IGNORE$", + "version": "$IGNORE$", + "transactionID": "$IGNORE$", + "errors": "$IGNORE$", + "responseTime": "$IGNORE$", + "response": { + "maskedMobile": "$IGNORE$", + "maskedEmail": "$IGNORE$" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.hbs b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.hbs new file mode 100644 index 0000000000..0a3bcdeba3 --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.hbs @@ -0,0 +1,23 @@ +{ + "id": "{{id}}", + "version": "{{version}}", + "individualId": "{{individualId}}", + "individualIdType": "{{individualIdType}}", + "transactionID": "{{transactionID}}", + "requestTime": "{{requestTime}}", + "kycToken": "{{kycToken}}", + "consentObtained": [ + {{#each consentObtained}} + "{{consentObtainedValue}}" + {{#unless @last}},{{/unless}} + {{/each}} + ], + "locales": [ + {{#each locales}} + "{{localesValue}}" + {{#unless @last}},{{/unless}} + {{/each}} + ], + "respType": "{{respType}}", + "metadata": {} +} \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.yml b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.yml new file mode 100644 index 0000000000..46330eb223 --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchange.yml @@ -0,0 +1,145 @@ +OtpAuthKycExchange: + auth_OtpAuthKycExchange_OtpAuth_With_Valid_UIN_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_01 + description: Otp auth kyc exchange with valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_withValidParameters_forOtpDelegated_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_Valid_UIN_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_OtpAuthKycExchange_OtpAuth_With_Valid_VID_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_02 + description: Demo auth kyc exchange using valid dob with valid perpetual VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_Valid_VID_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_OtpAuthKycExchange_OtpAuth_With_Optional_individualIdType_VID: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_03 + description: OTP auth kyc exchange with optional individualIdType using VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_Optional_individualIdType_VID_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_OtpAuthKycExchange_OtpAuth_With_Missing_Optional_Field_individualIdType_VID: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_04 + description: Otp auth kyc exchange with missing optional field individualIdType using VID + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:GenerateVID_All_Valid_Smoke_Perpetual_sid_vid$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "VID", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_Missing_Optional_Field_individualIdType_VID_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_OtpAuthKycExchange_OtpAuth_With_locked_email_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_05 + description: Otp auth kyc exchange with locked email using valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_email_perfromOtpEmail_auth_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_locked_email_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' + auth_OtpAuthKycExchange_OtpAuth_With_locked_phone_Smoke_Pos: + endPoint: /idauthentication/v1/kyc-exchange/delegated/$partialPartnerKeyUrl$​/$ID:CreateOIDCClient_Misp_Valid_Smoke_sid_clientId$ + uniqueIdentifier: TC_IDA_OtpAuthKycExchange_06 + description: Otp auth kyc exchange with locked phone using valid UIN + role: resident + restMethod: post + checkErrorsOnlyInResponse: true + inputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchange + outputTemplate: ida/OtpAuthKycExchange/OtpAuthKycExchangeResult + input: '{ + "requestTime": "$TIMESTAMP$", + "individualId": "$ID:AddIdentity_ValidParameters_toLock_phone_smoke_Pos_UIN$", + "transactionID": "$TRANSACTIONID$", + "individualIdType": "UIN", + "id": "mosip.identity.kycexchange", + "version": "1.0", + "kycToken": "$ID:OtpAuthDelegated_OTP_Auth_With_locked_phone_Smoke_Pos_Sid_kycToken$", + "consentObtained": [{consentObtainedValue: "gender"}, {consentObtainedValue: "birthdate"}], + "locales": [{localesValue: "eng"}], + "respType": "JWE" + }' + output: '{ + +}' \ No newline at end of file diff --git a/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchangeResult.hbs b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchangeResult.hbs new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/api-test/src/main/resources/ida/OtpAuthKycExchange/OtpAuthKycExchangeResult.hbs @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/api-test/testNgXmlFiles/authSuite.xml b/api-test/testNgXmlFiles/authSuite.xml index 7feea56bf7..18da648966 100644 --- a/api-test/testNgXmlFiles/authSuite.xml +++ b/api-test/testNgXmlFiles/authSuite.xml @@ -15,22 +15,47 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -64,6 +89,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +