-
Notifications
You must be signed in to change notification settings - Fork 157
ES-2748,ES-2530 - Updated description for eSignet test cases #1623
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
6179188
ES-2739 - Update CSRF token endpoint in eSignet API
prathmeshj12 cdd0cff
ES-2748 - Updated description for eSignet test cases
prathmeshj12 42b1860
Merge branch 'mosip:develop' into develop
prathmeshj12 5412216
Merge branch 'mosip:develop' into develop
prathmeshj12 d9a4e56
ES-2748 - Updated description for eSignet test cases
prathmeshj12 5131062
Merge branch 'mosip:develop' into develop
prathmeshj12 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...ctorFlow/ConsentNoCapture/GenTokenConsentNoCaptureNegTC/GenTokenConsentNoCaptureNegTC.hbs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "grant_type": "{{grant_type}}", | ||
| "code": "{{code}}", | ||
| "client_id": "{{client_id}}", | ||
| "client_assertion_type": "{{client_assertion_type}}", | ||
| "client_assertion": "{{client_assertion}}", | ||
| "redirect_uri": "{{redirect_uri}}" | ||
| } |
41 changes: 41 additions & 0 deletions
41
...ctorFlow/ConsentNoCapture/GenTokenConsentNoCaptureNegTC/GenTokenConsentNoCaptureNegTC.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| GenTokenConsentNoCaptureNegTC: | ||
| ESignet_GenerateToken_ConsentNoCapture_InvalidRedirectUri_Neg: | ||
| endPoint: $GETENDPOINTFROMWELLKNOWN$ | ||
| uniqueIdentifier: TC_ESignet_GenTokenConsentNoCaptureNegTC_01 | ||
| description: Verify successful token generation for Consent No Capture flow using in invalid redirect uri and expect invalid request error | ||
| role: resident | ||
| restMethod: post | ||
| validityCheckRequired: true | ||
| inputTemplate: esignet/OTPAuthFactorFlow/ConsentNoCapture/GenTokenConsentNoCaptureNegTC/GenTokenConsentNoCaptureNegTC | ||
| outputTemplate: esignet/error2 | ||
| input: '{ | ||
| "grant_type": "authorization_code", | ||
| "code": "$ID:AuthorizationCode_ConsentNoCapture_Smoke_sid_code$", | ||
| "client_id": "$ID:OIDCClientV3_VerifiedClaims_all_Valid_Smoke_sid_clientId$", | ||
| "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer", | ||
| "client_assertion": "$CLIENT_ASSERTION_USER10_JWK$", | ||
| "redirect_uri": "$IDPREDIRECTU$" | ||
| }' | ||
| output: '{ | ||
| "error": "invalid_request" | ||
| }' | ||
| ESignet_GenerateToken_ConsentNoCapture_Empty_RedirectUri_Neg: | ||
| endPoint: $GETENDPOINTFROMWELLKNOWN$ | ||
| uniqueIdentifier: TC_ESignet_GenTokenConsentNoCaptureNegTC_02 | ||
| description: Verify successful token generation for Consent No Capture flow using empty invalid redirect uri and expect invalid request error | ||
| role: resident | ||
| restMethod: post | ||
| validityCheckRequired: true | ||
| inputTemplate: esignet/OTPAuthFactorFlow/ConsentNoCapture/GenTokenConsentNoCaptureNegTC/GenTokenConsentNoCaptureNegTC | ||
| outputTemplate: esignet/error2 | ||
| input: '{ | ||
| "grant_type": "authorization_code", | ||
| "code": "$ID:AuthorizationCode_ConsentNoCapture_Smoke_sid_code$", | ||
| "client_id": "$ID:OIDCClientV3_VerifiedClaims_all_Valid_Smoke_sid_clientId$", | ||
| "client_assertion_type": "urn:ietf:params:oauth:client-assertion-type:jwt-bearer", | ||
| "client_assertion": "$CLIENT_ASSERTION_USER10_JWK$", | ||
| "redirect_uri": "$REMOVE$" | ||
| }' | ||
| output: '{ | ||
| "error": "invalid_request" | ||
| }' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.../OTPAuthFactorFlow/ConsentNoCapture/UserInfoConsentNoCapture/UserInfoConsentNoCapture.hbs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "idpAccessToken": "{{idpAccessToken}}" | ||
| } |
15 changes: 15 additions & 0 deletions
15
.../OTPAuthFactorFlow/ConsentNoCapture/UserInfoConsentNoCapture/UserInfoConsentNoCapture.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| UserInfoConsentNoCapture: | ||
| ESignet_UserInfoConsentNoCapture_IdpAccessToken_StatusCode_for_Verified_Claims_Valid_Smoke: | ||
| endPoint: /v1/esignet/oidc/userinfo | ||
| uniqueIdentifier: TC_ESignet_UserInfoConsentNoCapture_01 | ||
| description: Validate user info retrieval with verified claims for Consent No Capture flow | ||
| role: resident | ||
| restMethod: get | ||
| checkErrorsOnlyInResponse: true | ||
prathmeshj12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| validityCheckRequired: true | ||
| inputTemplate: esignet/OTPAuthFactorFlow/ConsentNoCapture/UserInfoConsentNoCapture/UserInfoConsentNoCapture | ||
| outputTemplate: esignet/OTPAuthFactorFlow/ConsentNoCapture/UserInfoConsentNoCapture/UserInfoConsentNoCaptureResult | ||
| input: '{ | ||
| "idpAccessToken": "$ID:GenerateToken_ConsentNoCapture_Valid_Smoke_sid_access_token$" | ||
| }' | ||
| output: "200" | ||
prathmeshj12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
1 change: 1 addition & 0 deletions
1
...thFactorFlow/ConsentNoCapture/UserInfoConsentNoCapture/UserInfoConsentNoCaptureResult.hbs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.