From fc46fb3845725b4d9254d3488ce5fb4c42383665 Mon Sep 17 00:00:00 2001 From: phoebus-84 <83974413+phoebus-84@users.noreply.github.com> Date: Mon, 23 Sep 2024 19:29:57 +0200 Subject: [PATCH] fix: correct intent url protocol (#50) * fix: correct intent url protocol * fix intent url * test: update output --------- Co-authored-by: Andrea D'Intino Co-authored-by: matteo-cristino --- test/wallet.bats | 2 +- verifier/card_to_qr.keys.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/wallet.bats b/test/wallet.bats index c340d10..1a32793 100644 --- a/test/wallet.bats +++ b/test/wallet.bats @@ -66,7 +66,7 @@ load ./bats_utils data_toc="{\"request_uri\": \"${request_uri}\", \"client_id\": \"${client_id}\"}" curl -X POST $ru_to_toc -d ''"$(echo $data_toc)"'' 1> $TMP/out save_tmp_output ru_to_toc.output.json - assert_output '{"credential_configuration_id":"test_credential"}' + assert_output '{"auth_details":[{"credential_configuration_id":"test_credential","locations":["http://localhost:3001/credential_issuer"],"type":"openid_credential","claims":[]}],"credential_configuration_id":"test_credential"}' cci=$(jq_extract_raw "credential_configuration_id" ru_to_toc.output.json) echo '{"email": "email@email.com", "password": "password"}' > $TMP/out save_tmp_output form.data.json diff --git a/verifier/card_to_qr.keys.json b/verifier/card_to_qr.keys.json index 3192b5e..ace233d 100644 --- a/verifier/card_to_qr.keys.json +++ b/verifier/card_to_qr.keys.json @@ -35,5 +35,5 @@ "8", "9" ], - "intent-url": "DIDroom4VP://?" -} \ No newline at end of file + "intent-url": "didroom4vp://?" +}