Skip to content

Commit

Permalink
fix: Apply withEntityId patch for the normal version
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Lanser <[email protected]>
  • Loading branch information
Tommylans committed Nov 26, 2024
1 parent 262ee63 commit 623c3b7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,11 @@ export class OpenId4VcSiopVerifierService {

if (clientIdScheme) {
builder.withClientIdScheme(clientIdScheme)

if (clientIdScheme === 'entity_id') {
// @ts-expect-error - This is something in the new OIDVC package but is't used yet in this credo version
builder.withEntityId(clientId)
}
}

if (presentationDefinition) {
Expand Down

0 comments on commit 623c3b7

Please sign in to comment.