From e756a4d098eb5652c5697f245fda3d16cf71458d Mon Sep 17 00:00:00 2001 From: Nikos Triantafyllou Date: Fri, 26 Apr 2024 11:46:06 +0300 Subject: [PATCH] updated error from RFC001 vct should be type in non sd-jwt cases --- data/issuer-config.json | 2 +- routes/routes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/issuer-config.json b/data/issuer-config.json index 9b73eb1..cf78fe1 100644 --- a/data/issuer-config.json +++ b/data/issuer-config.json @@ -77,7 +77,7 @@ } ], "credential_definition": { - "vct": "VerifiablePortableDocumentA2", + "type": "VerifiablePortableDocumentA2", "claims": { "given_name": { "display": [ diff --git a/routes/routes.js b/routes/routes.js index 695b73b..2517591 100644 --- a/routes/routes.js +++ b/routes/routes.js @@ -229,7 +229,7 @@ router.post("/credential", async (req, res) => { { iss: serverURL, iat: new Date().getTime(), - type: "VerifiablePortableDocumentA1", + vct: "VerifiablePortableDocumentA1", ...claims, }, disclosureFrame