Create Authorization Request
POST/api/v1/vcp/authorization_request
Endpoint starts VC Verification flow and does the following:
- generates user state/session,
- saves user session for later,
- generates and returns an authorization URL.
Returned Authorization URL should be put in a QR Code.
Request​
- application/json
Body
required
vcp_version string
The requested VC version
definition_id stringrequired
The ID of the presentation definition to use for this request.
Responses​
- 200
- 400
- 403
- 500
Successfully created the VC Playground authorization URL.
- text/plain
- Schema
- Example
Schema
string
openid4vp://authorize?client_id=http://localhost:8003/api/v1/vcp/authorization_response&request_uri=http://localhost:8003/api/v1/vcp/authorization_request?id=TDVDc2tydUZRbXBTTHZvVUxHSDVjTlR2VWg0YnppQTA=
Invalid request body.
Credential type not permitted.
Server error while processing the request.
Loading...