From 6b68af4e4b64b35baee985d506e4c7ef06634ea0 Mon Sep 17 00:00:00 2001 From: F-Node-Karlsruhe Date: Tue, 23 Apr 2024 17:05:05 +0200 Subject: [PATCH] support openid4vp scheme Signed-off-by: F-Node-Karlsruhe --- frontend/src/components/PresentationRequest.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/PresentationRequest.vue b/frontend/src/components/PresentationRequest.vue index 8ef48e7..41c707b 100644 --- a/frontend/src/components/PresentationRequest.vue +++ b/frontend/src/components/PresentationRequest.vue @@ -92,8 +92,8 @@ export default { input_descriptors: [ { id: - 'eecc_verifier_request_' + this.credentialType || - 'VerifiableCredential', + 'eecc_verifier_request_' + + (this.credentialType || 'VerifiableCredential'), format: { ldp_vc: { proof_type: ['Ed25519Signature2018', 'Ed25519Signature2020'], @@ -136,7 +136,7 @@ export default { }, presentationRequestURI() { return ( - 'openid-presentation-request://?client_id=' + + 'openid4vp://?client_id=' + encodeURI( this.$store.state.OPENID_ENDPOINT + 'presentation/' +