get https://api.use.id/account//access-request//exchange
In the first step, you have created an access request using the /account/{webid_url}/access-request
endpoint. In this step, you will need to prompt the user a page to get their permission.
After you have sent a request to this endpoint, the user will be redirected to the redirect URI that was provided in the access request. We will add the following query parameters to the redirect URI.
access_request_url
: The location at which the details of the access request can be accessed. (e.g. https://api.use.id/account/https%3A%2F%2Fuse.id%2Fjohn/access-request/006fa824-c3ce-49f6-a88f-8d38cb3e187cstate
: The state value that was sent to the access request.
Currently, only use.id WebIDs are accepted.