diff --git a/pages/openid.js b/pages/openid.js index e29002b..d12f2f3 100644 --- a/pages/openid.js +++ b/pages/openid.js @@ -78,10 +78,12 @@ const dockProofRequest = { path: ['$.credentialSubject.name'], }, { - path: ['$.name'], + path: ['$.type', '$.vc.type'], filter: { - type: 'string', - pattern: 'Dock Credential', + type: 'array', + contains: { + const: 'DockCredential', + }, }, }, ],