POST/conformance/v3/issuer-mock/credential
The client proceeds with the code flow, and calls the Token Endpoint with the required details and signs client_assertion JWT with client's private keys, which public key counterparts are resolvable through jwks_uri or is in the Client Metadata shared in the pre-registration step.
Request
- application/json
Body
Possible values: [jwt_vc
]
REQUIRED. Format in which the VCs should be issued. It MUST be jwt_vc. If not specified, the issuer default format is used.
Type to the credential being requested.
The value MUST match the 'types' property in the request.
proof objectrequired
Possible values: [jwt
]
JSON string denoting proof type.
MUST be jwt
A signature performed by a key that can be obtained by an identifier in verificationMethod.
MUST be JWS. See Proof Object schema.
Responses
- 200
- 400
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [jwt_vc
]
JSON string denoting the credential format. It MUST be jwt_vc
The value of the credential claim in the Credential Response MUST be a JSON string. Credentials of this format are already a sequence of base64url-encoded values separated by period characters and MUST NOT be re-encoded. MUST be present when acceptance_token is not returned.
A JSON string containing a security token subsequently used to obtain a Credential. MUST be present when credential is not returned.
{
"format": "jwt_vc",
"credential": "string",
"acceptance_token": "string"
}
Invalid request error
- application/json
- Schema
- Example (from schema)
Schema
The error code, if something went wrong.
Additional error information (if any).
{
"error": "string",
"error_description": "string"
}
Unauthorised request error
- application/json
- Schema
- Example (from schema)
Schema
The error code, if something went wrong.
Additional error information (if any).
{
"error": "string",
"error_description": "string"
}
Internal Error
- application/problem+json
- Schema
- Example (from schema)
- Internal Server Error
Schema
Default value: about:blank
An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.
A short summary of the problem type.
Possible values: >= 400
and <= 600
The HTTP status code generated by the origin server for this occurrence of the problem.
A human readable explanation specific to this occurrence of the problem.
An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"title": "Internal Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to complete your request"
}