Skip to content

Commit

Permalink
fix: issues with openid metadata resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
maycon-mello committed Sep 11, 2024
1 parent 01274a4 commit 41859ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/src/credentials/oidvc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ export async function getAuthURL(
const searchParams = new URL(uri).searchParams;
const params = new URLSearchParams(searchParams);
const clientId = params.get('client_id');
// We need to investigate why MetadataClient.retrieveAllMetadata(clientId); is not working on android
// Follow up bug ticket: https://dock-team.atlassian.net/browse/DCKM-600
const metadataURI = `${clientId}${WellKnownEndpoints.OPENID_CONFIGURATION}`;
const {data: metadata} = await axios.get(metadataURI);

Expand Down

0 comments on commit 41859ee

Please sign in to comment.