Skip to content

Commit

Permalink
Merge pull request #256 from tw-mosip/injiver-833-demo-changes
Browse files Browse the repository at this point in the history
[INJIVER-833] - client name change
  • Loading branch information
sree96 authored Dec 4, 2024
2 parents 42fd8c0 + d7b0ca0 commit dd03d40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEFAULT_TITLE=Inji Verify CAR
DEFAULT_THEME=default_theme
DEFAULT_LANG=pt
DEFAULT_LANG=en
DEFAULT_FONT_URL=https://fonts.googleapis.com/css?family=Inter
OVP_QR_HEADER=INJI_OVP://
DEFAULT_FAVICON=favicon.ico
Expand Down
2 changes: 1 addition & 1 deletion ui/src/redux/features/verify/verifySaga.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.location.origin + window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.responseUri}&presentation_definition_uri=${ window.location.origin + 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.origin + window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.responseUri}&presentation_definition_uri=${ window.location.origin + window._env_.VERIFY_SERVICE_API_URL + parsedData.authorizationDetails.presentationDefinitionUri}&client_metadata={"name":"INJI VERIFY"}&presentation_definition=${JSON.stringify(pdef)}`);
txnId = parsedData.transactionId;
reqId = parsedData.requestId;
} catch (error) {
Expand Down

0 comments on commit dd03d40

Please sign in to comment.