An example of how to use the access token to return a JSON response containing the end-user’s information:
UserInfo request:
curl -XGET "https://preprod.signicat.com/oidc/userinfo" -H "Authorization: Bearer ACCESS_TOKEN"
UserInfo response:
{
"locale": "ee",
"name": "DEMO SMART-ID",
"given_name": "DEMO",
"family_name": "SMART-ID",
"signicat.national_id": "10101010005"
}