POST/conformance/v3/issuer-mock/credential
The client proceeds with the code flow by calling the Token Endpoint with the required details. The client_assertion JWT must be signed using the client's private key, with the corresponding public key available through the jwks_uri parameter or included in the Client Metadata provided during the pre-registration step.
Request
- application/json
Body
Possible values: [jwt_vc
, jwt_vc_json
]
REQUIRED. Format in which the VCs should be issued. It MUST be "jwt_vc" or "jwt_vc_json". 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
Schema
Possible values: [jwt_vc
, jwt_vc_json
]
JSON string denoting the credential format. It MUST be "jwt_vc" or "jwt_vc_json".
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.
Invalid request error
- application/json
- Schema
Schema
The error code, if something went wrong.
Additional error information (if any).
Unauthorised request error
- application/json
- Schema
Schema
The error code, if something went wrong.
Additional error information (if any).
Internal Error
- application/problem+json
- 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.
{
"title": "Internal Server Error",
"status": 500,
"detail": "The server encountered an internal error and was unable to complete your request"
}