link

# OIDC response examples

This page contains OIDC response examples for some of the ID methods available for authentication. The examples show how to use the access token to return a JSON response containing the end-user's information.

The request should always look like this (replace ACCESS_TOKEN with your access token):

curl -XGET "https://preprod.signicat.com/oidc/userinfo" -H "Authorization: Bearer ACCESS_TOKEN"

The response examples for each ID method can be found in the corresponding sections below.

# FTN (Finnish bank eIDs)

Note

This example uses OP bank.

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

# iDIN

{
    "sub": "lu01zO18hi9JLXzPH0YAKzYMlofmSp15",
    "idin.requestedserviceid": "21974",
    "bankid.deliveredserviceid": "21974",
    "consumer.bin": "FANTASYBANK1234567890",
    "consumer.postalcode": "0000AA",
    "consumer.initials": "VJ",
    "consumer.partnerlastnameprefix": "de",
    "consumer.telephone": "+31203051900",
    "consumer.dateofbirth": "19750725",
    "consumer.gender": "1",
    "consumer.preferredlastnameprefix": "de",
    "consumer.partnerlastname": "Jansen",
    "consumer.houseno": "19",
    "consumer.city": "Aachen",
    "consumer.legallastnameprefix": "de",
    "consumer.preferredlastname": "Vries-Jansen",
    "consumer.street": "Pascalstreet",
    "consumer.country": "DE",
    "consumer.email": "info@equensworldline.nl",
    "consumer.legallastname": "Vries"
}

For a full list of the attributes that can be returned when using iDIN, refer to this section (opens new window) of the iDIN documentation.

# itsme

{
    "sub": "TXuEna3XLCQXRjcLjaZ1aUptqitw50Ny",
    "birthdate": "1974-04-12",
    "email_verified": "false",
    "address": "place Sainte Gudule",
    "gender": "male",
    "name": "Debora Test",
    "given_name": "Debora",
    "family_name": "Test",
    "email": "test@signicat.be"
}

# Mobiilivarmenne (via FTN)

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

# MobileID App

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

# NemID

{
   "sub":"hb4m4RJRnf3FhETtB4I7prJvsdXZCQJ2",
   "name":"Tycho Brahe",
   "given_name":"Tycho",
   "locale":"DK",
   "family_name":"Brahe"
}

# Norwegian BankID

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

# Smart-ID

{
"locale": "ee",
"name": "DEMO SMART-ID",
"given_name": "DEMO",
"family_name": "SMART-ID",
"signicat.national_id": "10101010005"
}

# Swedish BankID

{
	"family_name": "Signicat",
	"given_name": "John",
	"locale": "SV",
	"name": "John Signicat",
	"signicat.national_id": "199010275312",
	"sub": "KGMyh5FBCMTkEN934sOLyyBS0rPd4-up",
	"subject.nameid.namequalifier": "BANKID-SE"
}
Last updated: 7/8/2021, 1:51:49 PM