Learn how to exchange code for token and get user data
Exchange Code for an Access Token
Your service must exchange the received authorization code for an access token.
Issue a POST request to the /v1/oauth2/authorization/token.
In this request the Client ID and Client Secret are used as username and password for basic authentication. In the request body pass the Grant Type, Authorization Code and Callback URLs as form parameters.
Download User Data
Using the Access Token, your service can now download the verifiable credential data in the form of a Verifiable Presentation Token
Issue a GET request to /v1/authorization/data
Provide Access Token encoded as a Bearer authorization header.