Authorization Response
POST/api/v1/vcp/authorization_response
Validates the VCP authorization response, parses tokens, and sends the result via SSE to MyNextID Client.
Request​
Query Parameters
id stringrequired
Id provided in request_uri returned after calling POST /vcp/authorization_request
- application/x-www-form-urlencoded
Body
required
JSON object containing the VP token and presentation submission.
vp_token stringrequired
Base64 URL-encoded VP token.
presentation_submission stringrequired
Base64 URL-encoded presentation submission.
Responses​
- 200
- 400
- 403
- 404
- 500
Successfully processed the authorization response.
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Indicates if the operation was successful.
{
"success": true
}
Invalid or improperly encoded query parameters.
Forbidden HTTP method or invalid presentation submission.
SSE session not established or session ID not found.
Internal server error: invalid vp_token or presentation_submission
Loading...