Authentication

OIDC Response with Smart-ID

1355 views December 6, 2017 October 10, 2019 3

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"
}

Was this helpful?