Skip to main content

Get information token from VIDconnect once the user has authenticated

The client has received the code via callback URL and it is ready to request the JWT that contains the information presented by the user, either the did or a verifiable presentation. In order to test this request you will to provide a fresh new code obtained in /oauth/auth request.

Request Body REQUIRED
code string REQUIRED

Insert your code here

client_id string REQUIRED

Example: internalTesting

client_secret string REQUIRED

Example: hw_~._qhncWOZG6OcHdv_iVges

redirect_uri string REQUIRED

Example: http://localhost:3000/callback

grant_type string REQUIRED

Example: authorization_code

Responses
200

Success

400

Bad Request

Schema
type uri

An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.

title string

A short summary of the problem type.

status int32

Possible values: 400 ≤ value < 600

The HTTP status code generated by the origin server for this occurrence of the problem.

detail string

A human readable explanation specific to this occurrence of the problem.

instance uri

An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

500

Internal Server Error

Schema
type uri

An absolute URI that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type.

title string

A short summary of the problem type.

status int32

Possible values: 400 ≤ value < 600

The HTTP status code generated by the origin server for this occurrence of the problem.

detail string

A human readable explanation specific to this occurrence of the problem.

instance uri

An absolute URI that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.