Authentication

OIDC Response with FTN (OP bank)

222 views October 10, 2019 November 12, 2019 1

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":"j5JKCRtsrx5Hhc898MwV0MCpmEAZVnQg",
  "birthdate":"1970-07-07",
  "name":"Väinö Tunnistus",
  "signicat.national_id":"070770-905D",
  "given_name":"Väinö",
  "locale":"FI",
  "ftn.idpId":"fi-op",
  "family_name":"Tunnistus"
}

Was this helpful?