POST/conformance/v4/auth-mock/direct_post
Authorisation Server's endpoint that accepts and processes the ID Token issued by the client. The ID Token is self-issued by the client and it MUST be signed with client's DID document's authentication key.
See the ID Token - Direct POST response schema.
Request
- 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
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
- Example (from 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.
{
"type": "about:blank",
"title": "Internal Server Error",
"status": 500,
"detail": "Connection timeout",
"instance": "string"
}
{
"detail": "No Authentication Request bound to state ${state} found",
"status": 400,
"title": "Bad Request",
"type": "about:blank"
}
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"
}