Skip to content

Commit

Permalink
Remove authorize path in OID4VP tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Nov 7, 2024
1 parent 326c37c commit 06e3b87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions test/mocha/34-oid4vp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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});
Expand Down Expand Up @@ -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});
Expand Down
4 changes: 2 additions & 2 deletions test/mocha/backwards-compatibility/34-oid4vp.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 06e3b87

Please sign in to comment.