Skip to content

Commit

Permalink
MOSIP-34827 - Added test cases for L2 flow api's
Browse files Browse the repository at this point in the history
Signed-off-by: Mohanachandran S <[email protected]>
  • Loading branch information
mohanachandran-s committed Sep 2, 2024
1 parent 44d6b22 commit 940ed50
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"encodedHash": "{{encodedHash}}",
"encodedHash": "{{encodedHash}}",
"requestTime": "{{requestTime}}",
"request": {
"transactionId": "{{transactionId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ AuthenticateUserV3:
"encodedHash": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_encodedResp$",
"requestTime": "$TIMESTAMP$",
"transactionId": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$",
"individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Pos_UIN$",
"individualId": "$ID:AddIdentity_L2_Valid_Parameters_smoke_Pos_UIN$",
"otpChannels": [{channel: "email"},{channel: "phone"}],
"sendOtpReqTemplate": "esignet/SendOtp/SendOtp",
"sendOtpEndPoint": "/v1/esignet/authorization/send-otp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"encodedHash": "{{encodedHash}}",
"encodedHash": "{{encodedHash}}",
"requestTime": "{{requestTime}}",
"pathFragmentCookie": "{{pathFragmentCookie}}",
"pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ OAuthDetailsRequestV3:
"responseType": "code",
"redirectUri": "$IDPREDIRECTURI$",
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"state": "urlInfo1724138417665",
"claimsLocales": "en",
"uiLocales": "en-US"
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"state": "urlInfo1724138417665",
"claimsLocales": "en",
"uiLocales": "en-US"
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"encodedHash": "{{encodedHash}}",
"encodedHash": "{{encodedHash}}",
"requestTime": "{{requestTime}}",
"request": {
"transactionId": "{{transactionId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ SignupAuthorize:
"scope": "openid",
"responseType": "code",
"redirectUri": "$SIGNUPREDIRECTURI$",
"acrValues": "mosip:idp:acr:id-token",
"state": "urlInfo1724138417665",
"uiLocales": "en",
"idTokenHint": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_idToken$"
"acrValues": "mosip:idp:acr:id-token",
"state": "urlInfo1724138417665",
"uiLocales": "en",
"idTokenHint": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_idToken$"
}'
output: '{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"encodedHash": "{{encodedHash}}",
"encodedHash": "{{encodedHash}}",
"requestTime": "{{requestTime}}",
"pathFragmentCookie": "{{pathFragmentCookie}}",
"pathFragmentCookieTransactionId": "{{pathFragmentCookieTransactionId}}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SignupAuthorizeCode:
"pathFragmentCookie": "$ID:PrepareSignupRedirect_AuthToken_Xsrf_STransId_uin_Otp_Valid_Smoke_sid_pathFragmentCookie$",
"pathFragmentCookieTransactionId": "$ID:OAuthDetailsRequest_V3_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$",
"transactionId": "$ID:SignupAuthorize_OAuthDetailsRequest_AuthToken_Xsrf_uin_all_Valid_Smoke_sid_transactionId$",
"acceptedClaims": [{channel: "email"},{channel: "phone_number"}]
"acceptedClaims": [{channel: "email"},{channel: "phone_number"}]
}'
output: '{
Expand Down

0 comments on commit 940ed50

Please sign in to comment.