Verfifier OID4VP API
Get Request Object
Can return a RequestObjectDto as JSON Object or a SignedJWT String depending on JAR (JWT secured authorization request) flag in verifier management
get/oid4vp/api/request-object/{request_id}
Path parameters
request_idstring uuid required
Response
Request object either as plaintext or signed JWT.
The 'application/oauth-authz-req+jwt' representation is a compact serialized JWS (optionally nested JWE) representing the Request Object claims. As this is a JWT and not a JSON object, its structural requirements cannot be expressed as a JSON Schema and are documented here instead:
- The JOSE header MUST require the 'profile_version' parameter to indicate the Swiss Profile version.
- The JWT Claims Set corresponds to the RequestObject schema documented for the 'application/json' representation below, with 'request' and 'request_uri' claims strictly prohibited.
The 'application/json' representation is kept for documentation purposes only, mirroring the JWT Claims Set of the 'application/oauth-authz-req+jwt' representation; it is not actually returned when JAR (JWT-secured Authorization Request) is enabled.
Example response
{
"dcql_query": {
"credentials": [
{
"id": "identity_credential_dcql",
"format": "dc+sd-jwt",
"meta": {
"vct_values": [
"https://credentials.example.com/identity_credential"
]
},
"claims": [
{
"path": [
"given_name"
]
},
{
"path": [
"family_name"
]
},
{
"path": [
"address",
"street_address"
]
}
],
"require_cryptographic_holder_binding": true
},
{
"id": "university_degree_dcql",
"format": "dc+sd-jwt",
"meta": {
"vct_values": [
"https://credentials.example.com/university_degree"
]
},
"claims": [
{
"path": [
"degree_name"
]
},
{
"path": [
"graduation_year"
]
}
]
}
],
"credential_sets": [
{
"options": [
[
"identity_credential_dcql"
],
[
"university_degree_dcql"
]
],
"required": true
}
]
}
}