Authentication

OIDC Response with Norwegian BankID

3603 views September 29, 2017 October 10, 2019 8

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:

{
"birthdate":"1990-10-10",
"given_name":"Ginny",
"name":"Weasley, Ginny",
"family_name":"Weasley",
"sub":"lfGdi39wjRn44ZQbwsPFxF5SLcKsytJy"
}

Was this helpful?