diff --git a/test/mocha/34-oid4vp.js b/test/mocha/34-oid4vp.js index e28b2c8..7385e87 100644 --- a/test/mocha/34-oid4vp.js +++ b/test/mocha/34-oid4vp.js @@ -90,7 +90,7 @@ describe('exchange w/ OID4VP presentation w/DID Authn only', () => { client_id: `${exchangeId}/openid/client/authorization/response`, request_uri: authzReqUrl }); - const openid4vpUrl = 'openid4vp://authorize?' + searchParams.toString();*/ + const openid4vpUrl = 'openid4vp://?' + searchParams.toString();*/ // exchange state should be pending { @@ -313,7 +313,7 @@ describe('exchange w/ OID4VP presentation w/VC', () => { client_id: `${exchangeId}/openid/client/authorization/response`, request_uri: authzReqUrl }); - const openid4vpUrl = 'openid4vp://authorize?' + searchParams.toString(); + const openid4vpUrl = 'openid4vp://?' + searchParams.toString(); const protocolsUrl = `${exchangeId}/protocols`; const response = await httpClient.get(protocolsUrl, {agent}); @@ -463,7 +463,7 @@ describe('exchange w/ OID4VP presentation w/VC', () => { client_id: `${exchangeId}/openid/client/authorization/response`, request_uri: authzReqUrl }); - const openid4vpUrl = 'openid4vp://authorize?' + searchParams.toString(); + const openid4vpUrl = 'openid4vp://?' + searchParams.toString(); const protocolsUrl = `${exchangeId}/protocols`; const response = await httpClient.get(protocolsUrl, {agent}); diff --git a/test/mocha/backwards-compatibility/34-oid4vp.js b/test/mocha/backwards-compatibility/34-oid4vp.js index fc28633..dd43bd9 100644 --- a/test/mocha/backwards-compatibility/34-oid4vp.js +++ b/test/mocha/backwards-compatibility/34-oid4vp.js @@ -91,7 +91,7 @@ describe('exchanger backwards-compatibility: ' + client_id: `${exchangeId}/openid/client/authorization/response`, request_uri: authzReqUrl }); - const openid4vpUrl = 'openid4vp://authorize?' + searchParams.toString();*/ + const openid4vpUrl = 'openid4vp://?' + searchParams.toString();*/ // exchange state should be pending { @@ -313,7 +313,7 @@ describe('exchanger backwards-compatibility: ' + client_id: `${exchangeId}/openid/client/authorization/response`, request_uri: authzReqUrl }); - const openid4vpUrl = 'openid4vp://authorize?' + searchParams.toString(); + const openid4vpUrl = 'openid4vp://?' + searchParams.toString(); console.log('openid4vpUrl', openid4vpUrl);*/ // get authorization request