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

ES-2132 - updated the empty claim value as null instead of empty array #1081

Merged
merged 4 commits into from
Jan 3, 2025
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 @@ -961,7 +961,7 @@ AuthenticateUser:
output: '{
"errors": [
{
"errorCode": "invalid_challenge_length",
"errorCode": "invalid_auth_factor_type",
"errorMessage": "$IGNORE$"
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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$",
Expand All @@ -72,4 +72,33 @@ OAuthDetailsRequestLinkedConsent:
}'
output: '{

}'

ESignet_OAuthDetailsRequest_LinkAuth_Consent_NoClaim_Neg:
endPoint: /v1/esignet/authorization/oauth-details
description: Oauthdetails request with linkAuth consent and no claims
role: resident
restMethod: post
inputTemplate: esignet/OAuthDetailsRequest/OAuthDetailsRequestNoClaims
outputTemplate: esignet/error
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": "973eieljzng",
"state": "eree2311",
"claimsLocales": "en"
}'
output: '{
"errors": [
{
"errorCode": "unknown_error",
"errorMessage": "$IGNORE$"
}
]
}'
Original file line number Diff line number Diff line change
@@ -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}}"
}
}
Loading