Skip to content

Commit

Permalink
updated error from RFC001 vct should be type in non sd-jwt cases
Browse files Browse the repository at this point in the history
  • Loading branch information
endimion committed Apr 26, 2024
1 parent f4446aa commit e756a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/issuer-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
],
"credential_definition": {
"vct": "VerifiablePortableDocumentA2",
"type": "VerifiablePortableDocumentA2",
"claims": {
"given_name": {
"display": [
Expand Down
2 changes: 1 addition & 1 deletion routes/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ router.post("/credential", async (req, res) => {
{
iss: serverURL,
iat: new Date().getTime(),
type: "VerifiablePortableDocumentA1",
vct: "VerifiablePortableDocumentA1",
...claims,
},
disclosureFrame
Expand Down

0 comments on commit e756a4d

Please sign in to comment.