Appearance
Verifier Configuration
The Universal Verifier supports various configuration settings that can be configured per account.
Configuration Setting: oid4vp
Using this setting, various aspects of the OID4VP functionality of the Universal Verifier can be specified.
Get Value
The following request will get the oid4vp
configuration value.
bash
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X GET "https://profile.godiddy.com/1.0.0/profile/metadata/oid4vp"
1
2
2
Set Value
The following request will set the oid4vp
configuration value.
bash
curl -H "Authorization: Bearer b082c420-df67-4b06-899c-b7c51d75fba0" \
-X PUT "https://profile.godiddy.com/1.0.0/profile/metadata/oid4vp" \
-H "Content-Type: application/json" \
-d '{
"clientConfig":{
"responseMode":"direct_post",
"responseType":"vp_token",
"clientIdScheme":"did",
"clientDid":"did:key:zDnaet6i5C95fPDR9MaHRiroWg6foddVgFuF4Vk8pExQwZVNa",
"clientKid":"did:key:zDnaet6i5C95fPDR9MaHRiroWg6foddVgFuF4Vk8pExQwZVNa#zDnaet6i5C95fPDR9MaHRiroWg6foddVgFuF4Vk8pExQwZVNa",
"clientMetadata":{
"response_types":[
"vp_token",
"id_token"
],
"vp_formats":{
"jwt_vp_json":{
"alg":[
"ES256"
]
},
"jwt_vc_json":{
"alg":[
"ES256"
]
},
"jwt_vc":{
"alg":[
"ES256"
]
},
"jwt_vp":{
"alg":[
"ES256"
]
}
},
"response_types_supported":[
"vp_token",
"id_token"
],
"id_token_signing_alg_values_supported":[
"ES256"
],
"request_object_signing_alg_values_supported":[
"ES256"
],
"scopes_supported":[
"openid did_authn"
],
"subject_types_supported":[
"pairwise"
],
"subject_syntax_types_supported":[
"did:web",
"did:key",
"did:jwk"
]
}
},
"presentationDefinitions":{
"OpenBadgeCredential":{
"id":"OpenBadgeCredential",
"input_descriptors":[
{
"id":"OpenBadgeCredential",
"format":{
"jwt_vc_json":{
"alg":[
"ES256"
]
},
"jwt_vp_json":{
"alg":[
"ES256"
]
}
},
"constraints":{
"fields":[
{
"path":[
"$.vc.type[1]",
"$.type[1]"
],
"filter":{
"type":"string",
"pattern":"OpenBadgeCredential"
}
}
]
}
}
]
},
"PermanentResidentCard":{
"id":"PermanentResidentCard",
"input_descriptors":[
{
"id":"PermanentResidentCard",
"format":{
"jwt_vc_json":{
"alg":[
"ES256"
]
},
"jwt_vp_json":{
"alg":[
"ES256"
]
}
},
"constraints":{
"fields":[
{
"path":[
"$.vc.type[1]",
"$.type[1]"
],
"filter":{
"type":"string",
"pattern":"PermanentResidentCard"
}
}
]
}
}
]
}
}
}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131