Skip to content

Commit

Permalink
Merge pull request #251 from tw-mosip/injiver-833-demo-changes
Browse files Browse the repository at this point in the history
[INJIVER-833] - qR space issue fix
  • Loading branch information
sree96 authored Dec 3, 2024
2 parents c648f92 + e7a65b7 commit 7b92b0c
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ui/src/redux/features/verify/verifySaga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,7 @@ function* fetchRequestUri(claims: string[]) {
const parsedData = JSON.parse(data) as QrData;
qrData =
OPENID4VP_PROTOCOL +
btoa(
`client_id=${parsedData.authorizationDetails.clientId}
&response_type=${parsedData.authorizationDetails.responseType}
&response_mode=direct_post
&nonce=${parsedData.authorizationDetails.nonce}
&state=${parsedData.requestId}
&response_uri=${window.location+window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.responseUri}
&presentation_definition_uri=${window.location+window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.presentationDefinitionUri}
&client_metadata={"name":"${window.location}"}
&presentation_definition=${JSON.stringify(pdef)}`
);
btoa(`client_id=${parsedData.authorizationDetails.clientId}&response_type=${parsedData.authorizationDetails.responseType}&response_mode=direct_post&nonce=${parsedData.authorizationDetails.nonce}&state=${parsedData.requestId}&response_uri=${window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.responseUri}&presentation_definition_uri=${ window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.presentationDefinitionUri}&client_metadata={"name":"${window.location}"}&presentation_definition=${JSON.stringify(pdef)}`);
txnId = parsedData.transactionId;
reqId = parsedData.requestId;
} catch (error) {
Expand Down

0 comments on commit 7b92b0c

Please sign in to comment.