diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/esignet/testscripts/SimplePostForAutoGenId.java b/api-test/src/main/java/io/mosip/testrig/apirig/esignet/testscripts/SimplePostForAutoGenId.java index 5db0bb6c9..a58815946 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/esignet/testscripts/SimplePostForAutoGenId.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/esignet/testscripts/SimplePostForAutoGenId.java @@ -165,6 +165,7 @@ public void test(TestCaseDTO testCaseDTO) //tempUrl = ApplnURI.replace(GlobalConstants.API_INTERNAL, ConfigManager.getSunBirdBaseURL()); testCaseDTO.setEndPoint(testCaseDTO.getEndPoint().replace("$SUNBIRDBASEURL$", "")); } + inputJson = EsignetUtil.inputstringKeyWordHandeler(inputJson, testCaseName); if ((testCaseName.contains("_AuthorizationCode_")) || (testCaseName.contains("_AuthToken_Xsrf_"))) { response = postRequestWithCookieAuthHeaderAndXsrfTokenForAutoGenId( tempUrl + testCaseDTO.getEndPoint(), inputJson, COOKIENAME, testCaseDTO.getTestCaseName(), diff --git a/api-test/src/main/java/io/mosip/testrig/apirig/esignet/utils/EsignetUtil.java b/api-test/src/main/java/io/mosip/testrig/apirig/esignet/utils/EsignetUtil.java index 70ffec3c4..c46e70bec 100644 --- a/api-test/src/main/java/io/mosip/testrig/apirig/esignet/utils/EsignetUtil.java +++ b/api-test/src/main/java/io/mosip/testrig/apirig/esignet/utils/EsignetUtil.java @@ -1,6 +1,7 @@ package io.mosip.testrig.apirig.esignet.utils; import java.util.Arrays; +import java.util.Calendar; import java.util.HashMap; import java.util.Map; import java.util.Set; @@ -235,9 +236,14 @@ public static String isTestCaseValidForExecution(TestCaseDTO testCaseDTO) { } public static String inputstringKeyWordHandeler(String jsonString, String testCaseName) { - if (jsonString.contains(GlobalConstants.TIMESTAMP)) + if (jsonString.contains(GlobalConstants.TIMESTAMP)) { jsonString = replaceKeywordValue(jsonString, GlobalConstants.TIMESTAMP, generateCurrentUTCTimeStamp()); + } + if (jsonString.contains("$UNIQUENONCEVALUEFORESIGNET$")) { + jsonString = replaceKeywordValue(jsonString, "$UNIQUENONCEVALUEFORESIGNET$", + String.valueOf(Calendar.getInstance().getTimeInMillis())); + } return jsonString; diff --git a/api-test/src/main/resources/esignet/AuthenticateUser/AuthenticateUser.yml b/api-test/src/main/resources/esignet/AuthenticateUser/AuthenticateUser.yml index aedb8b76e..a5d780b9d 100644 --- a/api-test/src/main/resources/esignet/AuthenticateUser/AuthenticateUser.yml +++ b/api-test/src/main/resources/esignet/AuthenticateUser/AuthenticateUser.yml @@ -961,7 +961,7 @@ AuthenticateUser: output: '{ "errors": [ { - "errorCode": "invalid_challenge_length", + "errorCode": "invalid_auth_factor_type", "errorMessage": "$IGNORE$" } ], diff --git a/api-test/src/main/resources/esignet/Consent/OAuthDetailsRequestConsent/OAuthDetailsRequestConsent.yml b/api-test/src/main/resources/esignet/Consent/OAuthDetailsRequestConsent/OAuthDetailsRequestConsent.yml index 991d65438..0a11f4d06 100644 --- a/api-test/src/main/resources/esignet/Consent/OAuthDetailsRequestConsent/OAuthDetailsRequestConsent.yml +++ b/api-test/src/main/resources/esignet/Consent/OAuthDetailsRequestConsent/OAuthDetailsRequestConsent.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -41,7 +41,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -66,7 +66,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -91,7 +91,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -116,7 +116,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -141,7 +141,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -166,7 +166,7 @@ OAuthDetailsRequestConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' diff --git a/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml b/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml index f9067ce07..dd3aeb8bd 100644 --- a/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml +++ b/api-test/src/main/resources/esignet/LinkedConsent/OAuthDetailsRequestLinkedConsent/OAuthDetailsRequestLinkedConsent.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestLinkedConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -41,7 +41,7 @@ OAuthDetailsRequestLinkedConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -55,7 +55,7 @@ OAuthDetailsRequestLinkedConsent: role: resident checkErrorsOnlyInResponse: true restMethod: post - inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestNoClaims + inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestNullClaims outputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestResult input: '{ "requestTime": "$TIMESTAMP$", @@ -66,10 +66,40 @@ OAuthDetailsRequestLinkedConsent: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' output: '{ +}' + + ESignet_OAuthDetailsRequest_LinkAuth_Consent_NoClaim_Neg: + endPoint: /v1/esignet/authorization/oauth-details + description: Oauthdetails request with linkAuth consent and empty claim + role: resident + checkErrorsOnlyInResponse: true + restMethod: post + inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestNoClaims + outputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestResult + input: '{ + "requestTime": "$TIMESTAMP$", + "clientId": "$ID:CreateOIDCClient_all_Valid_Smoke_sid_clientId$", + "scope": "openid resident-service profile", + "responseType": "code", + "redirectUri": "$IDPREDIRECTURI$", + "display": "popup", + "prompt": "login", + "acrValues": "mosip:idp:acr:linked-wallet", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", + "state": "eree2311", + "claimsLocales": "en" +}' + output: '{ + "errors": [ + { + "errorCode": "invalid_claim", + "errorMessage": "$IGNORE$" + } + ] }' \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequest.yml b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequest.yml index bdfd95e81..200c65d51 100644 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequest.yml +++ b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequest.yml @@ -16,7 +16,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -41,7 +41,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -66,7 +66,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -91,7 +91,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -116,7 +116,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -141,7 +141,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -166,7 +166,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -191,7 +191,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -216,7 +216,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -241,7 +241,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -265,7 +265,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -290,7 +290,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -315,7 +315,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -339,7 +339,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -363,7 +363,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -387,7 +387,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -411,7 +411,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -435,7 +435,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -459,7 +459,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -483,7 +483,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -507,7 +507,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -532,7 +532,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -557,7 +557,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -582,7 +582,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -607,7 +607,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -632,7 +632,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -657,7 +657,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -682,7 +682,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -707,7 +707,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -732,7 +732,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -757,7 +757,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -782,7 +782,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -807,7 +807,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -832,7 +832,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -857,7 +857,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -887,7 +887,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -917,7 +917,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -947,7 +947,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -977,7 +977,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1007,7 +1007,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1037,7 +1037,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1067,7 +1067,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1097,7 +1097,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1127,7 +1127,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1157,7 +1157,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1187,7 +1187,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1217,7 +1217,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1247,7 +1247,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1277,7 +1277,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1307,7 +1307,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1337,7 +1337,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1367,7 +1367,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1397,7 +1397,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1422,7 +1422,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp/acr:static?:code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1447,7 +1447,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-codemosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1472,7 +1472,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "$REMOVE$", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1497,7 +1497,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1522,7 +1522,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1547,7 +1547,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "claims": "$REMOVE$" @@ -1573,7 +1573,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "claims": "" @@ -1603,7 +1603,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1628,7 +1628,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "$REMOVE$" }' @@ -1653,7 +1653,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "hn" }' @@ -1678,7 +1678,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "" }' @@ -1703,7 +1703,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "null" }' @@ -1728,7 +1728,7 @@ OAuthDetailsRequest: "display": "$REMOVE$", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1753,7 +1753,7 @@ OAuthDetailsRequest: "display": "abc", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1783,7 +1783,7 @@ OAuthDetailsRequest: "display": "", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1812,7 +1812,7 @@ OAuthDetailsRequest: "display": "null", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1842,7 +1842,7 @@ OAuthDetailsRequest: "display": " ", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -1871,7 +1871,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "$$@#fdhfdkl", "claimsLocales": "en" }' @@ -1896,7 +1896,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "$REMOVE$", "claimsLocales": "en" }' @@ -1921,7 +1921,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "", "claimsLocales": "en" }' @@ -1946,7 +1946,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "null", "claimsLocales": "en" }' @@ -1971,37 +1971,12 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "aa1hmnkz7ee0c1te988gw9bkos5pb4mi830uf6wrxj6hs80z07rmtwpzvjr9qjhgw8aw2rf9iljprvvxxh4y94je13gl4vr9vwaq358tnov5bh3likbef6elkqnqvnn4gu9fh1pzui2b459m0xfwjdsjlinll1s6kayk29d01i3vx1uagewcoc39ssxm4feyci06zoimd6ot3c0w3w8genv1d0hk4ni9ym1mjkwclffj5tfiglipy9sn5fyjqway9c6y", "claimsLocales": "en" }' output: '{ -}' - - ESignet_OAuthDetailsRequest_Invalid_Nonce_Pos: - endPoint: /v1/esignet/authorization/oauth-details - description: Oauthdetails request with invalid Nonce - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequest - outputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestResult - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "$ID:CreateOIDCClient_all_Valid_Smoke_sid_clientId$", - "scope": "openid resident-service profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "$$#@DSNsds", - "state": "eree2311", - "claimsLocales": "en" -}' - output: '{ - }' ESignet_OAuthDetailsRequest_Missing_Nonce_Pos: @@ -2052,31 +2027,6 @@ OAuthDetailsRequest: }' output: '{ -}' - - ESignet_OAuthDetailsRequest_Null_Nonce_Pos: - endPoint: /v1/esignet/authorization/oauth-details - description: Oauthdetails request with Null in Nonce - role: resident - restMethod: post - checkErrorsOnlyInResponse: true - inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequest - outputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestResult - input: '{ - "requestTime": "$TIMESTAMP$", - "clientId": "$ID:CreateOIDCClient_all_Valid_Smoke_sid_clientId$", - "scope": "openid resident-service profile", - "responseType": "code", - "redirectUri": "$IDPREDIRECTURI$", - "display": "popup", - "prompt": "login", - "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "null", - "state": "eree2311", - "claimsLocales": "en" -}' - output: '{ - }' ESignet_OAuthDetailsRequest_Invalid_requestTime_Neg: @@ -2096,7 +2046,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2126,7 +2076,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2156,7 +2106,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "abc", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2186,7 +2136,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "$REMOVE$", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2210,7 +2160,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2239,7 +2189,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "null", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -2269,7 +2219,7 @@ OAuthDetailsRequest: "display": "popup", "prompt": "select account", "acrValues": "mosip:idp:acr:static-code mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNonAuth.yml b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNonAuth.yml index 78cbf8f01..292d2baaf 100644 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNonAuth.yml +++ b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNonAuth.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -41,7 +41,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -66,7 +66,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -91,7 +91,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -116,7 +116,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -141,7 +141,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -166,7 +166,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -191,7 +191,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -216,7 +216,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -241,7 +241,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -266,7 +266,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -291,7 +291,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -316,7 +316,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -341,7 +341,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -366,7 +366,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -391,7 +391,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -416,7 +416,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -441,7 +441,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -466,7 +466,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -491,7 +491,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -516,7 +516,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -541,7 +541,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -566,7 +566,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -591,7 +591,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -616,7 +616,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -641,7 +641,7 @@ OAuthDetailsRequestNonAuth: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNullClaims.hbs b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNullClaims.hbs new file mode 100644 index 000000000..e3f753c95 --- /dev/null +++ b/api-test/src/main/resources/esignet/OAuthDetailsRequest/OAuthDetailsRequestNullClaims.hbs @@ -0,0 +1,16 @@ +{ + "requestTime": "{{requestTime}}", + "request": { + "clientId": "{{clientId}}", + "scope": "{{scope}}", + "responseType": "{{responseType}}", + "redirectUri": "{{redirectUri}}", + "display": "{{display}}", + "prompt": "{{prompt}}", + "acrValues": "{{acrValues}}", + "claims": null, + "nonce": "{{nonce}}", + "state": "{{state}}", + "claimsLocales": "{{claimsLocales}}" + } +} \ No newline at end of file diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestLinked/OAuthDetailsRequest.yml b/api-test/src/main/resources/esignet/OAuthDetailsRequestLinked/OAuthDetailsRequest.yml index 0b58305f1..d5b12145b 100644 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestLinked/OAuthDetailsRequest.yml +++ b/api-test/src/main/resources/esignet/OAuthDetailsRequestLinked/OAuthDetailsRequest.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -41,7 +41,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -66,7 +66,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -91,7 +91,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -116,7 +116,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -141,7 +141,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:linked-wallet", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' @@ -166,7 +166,7 @@ OAuthDetailsRequestLinked: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en" }' diff --git a/api-test/src/main/resources/esignet/OAuthDetailsRequestV2/OAuthDetailsRequest.yml b/api-test/src/main/resources/esignet/OAuthDetailsRequestV2/OAuthDetailsRequest.yml index 7bf1ddc02..6a9d1ac9a 100644 --- a/api-test/src/main/resources/esignet/OAuthDetailsRequestV2/OAuthDetailsRequest.yml +++ b/api-test/src/main/resources/esignet/OAuthDetailsRequestV2/OAuthDetailsRequest.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestV2: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code mosip:idp:acr:linked-wallet mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -43,7 +43,7 @@ OAuthDetailsRequestV2: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:generated-code mosip:idp:acr:linked-wallet mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "$1STLANG$", "codeChallenge": "$CODECHALLENGE$", diff --git a/api-test/src/main/resources/esignet/SunBirdC/OAuthDetailsRequestSunBirdC/OAuthDetailsRequestSunBirdC.yml b/api-test/src/main/resources/esignet/SunBirdC/OAuthDetailsRequestSunBirdC/OAuthDetailsRequestSunBirdC.yml index ea1dc3e64..847a373a4 100644 --- a/api-test/src/main/resources/esignet/SunBirdC/OAuthDetailsRequestSunBirdC/OAuthDetailsRequestSunBirdC.yml +++ b/api-test/src/main/resources/esignet/SunBirdC/OAuthDetailsRequestSunBirdC/OAuthDetailsRequestSunBirdC.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestSunBirdC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", diff --git a/api-test/src/main/resources/esignet/SunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC.yml b/api-test/src/main/resources/esignet/SunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC.yml index 14776c06d..b8605ab1a 100644 --- a/api-test/src/main/resources/esignet/SunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC.yml +++ b/api-test/src/main/resources/esignet/SunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC/OAuthDetailsRequestSunBirdCNegTC.yml @@ -16,7 +16,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge mosip:idp:acr:generated-code mosip:idp:acr:linked-wallet mosip:idp:acr:biometrics", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -42,7 +42,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -72,7 +72,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -103,7 +103,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -133,7 +133,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -159,7 +159,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -189,7 +189,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "9sJ3SSa1AfcYwqi", @@ -215,7 +215,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -246,7 +246,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": " ", @@ -276,7 +276,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "9sJ3SSa1AfcYwqieyegdbdbdbdbhey373664gfgfbcbcbcncjccudhdyye7eyeggcbc374hfgdfdsbs98645g4gvgvv", @@ -302,7 +302,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$REMOVE$", @@ -332,7 +332,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -362,7 +362,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$REMOVE$", @@ -393,7 +393,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -420,7 +420,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -447,7 +447,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -474,7 +474,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -501,7 +501,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -528,7 +528,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -555,7 +555,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -582,7 +582,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -609,7 +609,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -636,7 +636,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -663,7 +663,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -690,7 +690,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -717,7 +717,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -744,7 +744,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$", @@ -771,7 +771,7 @@ OAuthDetailsRequestSunBirdCNegTC: "display": "popup", "prompt": "login", "acrValues": "mosip:idp:acr:knowledge", - "nonce": "973eieljzng", + "nonce": "$UNIQUENONCEVALUEFORESIGNET$", "state": "eree2311", "claimsLocales": "en", "codeChallenge": "$CODECHALLENGE$",