Authentication

OIDC response with the MobileID app

1536 views October 8, 2018 October 10, 2019 5

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:

{
    "sub": "IntKwFc3VGyxwPqvAF7A_S8JQXri812W",
    "deviceId": "t5Vaz9uHuwZOzf8TuPJAk8Tz6qCbKuMK"
}

Was this helpful?