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:
{
"ftn.satu": "440397400",
"sub": "t8SsCF9-gu6EhjjkqJMGlN0fR54hsaiB",
"birthdate": "1958-05-21",
"gender": "M",
"name": "Matti Meikäläinen",
"phone_number_verified": "true",
"phone_number": "+358401239876",
"signicat.national_id": "210558-012X",
"locale": "FI",
"given_name": "Matti",
"family_name": "Meikäläinen"
}