Skip to content

Commit ac43e2d

Browse files
authored
Add scope to oid4vci client initialization.
2 parents 7e1366f + 3036803 commit ac43e2d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

packages/wasm/src/services/credential/service.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,8 @@ class CredentialService {
449449
authorizationRequest: {
450450
redirectUri: 'dock-wallet://credentials/callback',
451451
clientId: 'dock.wallet',
452+
// Hack: we need the scope property to avoid 'CredentialOffer format is wrong.' error
453+
scope: []
452454
},
453455
});
454456

0 commit comments

Comments
 (0)