Skip to content
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/giant-wings-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@credo-ts/openid4vc": minor
---

feat: support redirect_uri client id prefix for openid4vp holder and verifier
6 changes: 6 additions & 0 deletions .changeset/social-walls-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@credo-ts/openid4vc": minor
"@credo-ts/core": minor
---

feat: support multiple presentations for OpenID4VP presentations with DCQL. This is only supported when the query allows 'multiple'. Due to this the API has now changed from a single presentation per query id, to an array of credential ids with at least one entry.
5 changes: 5 additions & 0 deletions .changeset/warm-carpets-press.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@credo-ts/openid4vc": minor
---

feat: support OpenID4VP 1.0
2 changes: 1 addition & 1 deletion demo-openid/src/HolderInquirer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ export class HolderInquirer extends BaseInquirer {
} else if (this.resolvedPresentationRequest.dcql) {
console.log(greenText('Received DCQL request'))

if (this.resolvedPresentationRequest.dcql.queryResult.canBeSatisfied) {
if (this.resolvedPresentationRequest.dcql.queryResult.can_be_satisfied) {
const selectedCredentials = Object.values(
this.holder.agent.modules.openId4VcHolder.selectCredentialsForDcqlRequest(
this.resolvedPresentationRequest.dcql.queryResult
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"buffer": "^6.0.3",
"class-transformer": "catalog:",
"class-validator": "catalog:",
"dcql": "^0.3.0",
"dcql": "^1.0.0",
"did-resolver": "^4.1.0",
"ec-compression": "0.0.1-alpha.12",
"lru_map": "^0.4.1",
Expand Down
Loading
Loading