POST/conformance/v3/auth-mock/direct_post
Authorisation Server endpoint that accepts and processes the ID Token issued by the client. The ID Token is self-issued by the client and MUST be signed using the authentication key from the client’s DID document.
See the ID Token - Direct POST response schema.
Request
- application/x-www-form-urlencoded
Body
ID Token. Required when the Authorisation Server requests an ID Token.
VP Token. Required when the Authorisation Server requests an VP Token.
Stringified presentation submission object. Required when the Authorisation Server requests an VP Token.
Responses
- 302
- 400
- 500
OK
Response Headers
Location string
application/x-www-form-urlencoded Authentication Response. It MUST contain a valid
code
andstate
. Thestate
claim MUST have the same value as thestate
in the Authorisation Request.See Authentication Response schema definition.
Authorisation Endpoint Error
- application/problem+json
- Schema
- invalidState
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.
{
"detail": "No Authentication Request bound to state ${state} found",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}
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"
}