Skip to content

Commit c30c05a

Browse files
committed
Support jwt_vp_json alias.
1 parent d74d790 commit c30c05a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/oid4/oid4vp.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,13 @@ function _createClientMetaData() {
289289
// return default supported `vp_formats`
290290
return {
291291
vp_formats: {
292+
// support both aliases `jwt_vp` and `jwt_vp_json`
292293
jwt_vp: {
293294
alg: ['EdDSA', 'Ed25519', 'ES256', 'ES384']
294295
},
296+
jwt_vp_json: {
297+
alg: ['EdDSA', 'Ed25519', 'ES256', 'ES384']
298+
},
295299
ldp_vp: {
296300
proof_type: [
297301
'ecdsa-rdfc-2019',

0 commit comments

Comments
 (0)