Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-34827 - Added testcases for L2 flow #1623

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,28 @@ OAuthDetailsRequestV3:
}'
output: '{

}'

ESignet_OAuthDetailsRequest_V3_WithClaimValues_AuthToken_Xsrf_uin_all_Valid_Smoke_sid:
endPoint: /v1/esignet/authorization/v3/oauth-details
role: resident
restMethod: post
checkErrorsOnlyInResponse: true
inputTemplate: esignet/OAuthDetailsRequestV3/OAuthDetailsWithClaimValueRequest
input: '{
"requestTime": "$TIMESTAMP$",
"clientId": "0brnxh_duaXqCa-HW4kSeljeMp0qGOmqh4tm_zFKVgY",
"scope": "openid profile",
"responseType": "code",
"redirectUri": "$IDPREDIRECTURI$",
"display": "popup",
"prompt": "login",
"acrValues": "mosip:idp:acr:generated-code",
"nonce": "973eieljzng",
"state": "urlInfo1724138417665",
"claimsLocales": "en",
"uiLocales": "en-US"
}'
output: '{

}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"requestTime": "{{requestTime}}",
"request": {
"clientId": "{{clientId}}",
"scope": "{{scope}}",
"responseType": "{{responseType}}",
"redirectUri": "{{redirectUri}}",
"display": "{{display}}",
"prompt": "{{prompt}}",
"acrValues": "{{acrValues}}",
"claims": {
"userinfo": {
"name": {
"essential": false
},
"phone_number": {
"essential": true
},
"verified_claims": [
{
"verification": {
"trust_framework": {
"value": ["de_aml", "jp_aml"]
},
"assurance-level": {
"value": "high"
},
"time": {
"max_age": 63113852
},
"evidence": [
{"type": { "value": "document" }},
{"method": { "value": "test" }}
]
},
"claims": {
"given_name": {
"value":["automation", "test"],
"purpose":"Name given by user",
"essential": true
},
"name": {
"value": "automation",
"values":["ab","cd"]
},
"phone_number": {
"value": "1234567890"
},
"email": {
"essential": true
}
}
}
]
},
"id_token": {}
},
"nonce" : "{{nonce}}",
"state" : "{{state}}",
"claimsLocales" : "{{claimsLocales}}",
"uiLocales" : "{{uiLocales}}"
}
}
Loading