From 54cd2a3b3ce42c939fc00a09dcfe25ec7e4162c5 Mon Sep 17 00:00:00 2001 From: Sreenadh S <32409698+sree96@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:20:22 +0530 Subject: [PATCH] [INJIVER-833] - qR space issue fix Signed-off-by: Sreenadh S <32409698+sree96@users.noreply.github.com> --- ui/src/redux/features/verify/verifySaga.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/redux/features/verify/verifySaga.ts b/ui/src/redux/features/verify/verifySaga.ts index 6224fb55..631fc068 100644 --- a/ui/src/redux/features/verify/verifySaga.ts +++ b/ui/src/redux/features/verify/verifySaga.ts @@ -43,7 +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._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)}`); + 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)}`); txnId = parsedData.transactionId; reqId = parsedData.requestId; } catch (error) {