Below you will find the structure and example content of the ID tokens – JSON Web Tokens returned when signing in with each of the supported eID types.
The examples show only the user-specific fields. The actual issued JWTs also include additional technical OIDC-conformant fields used for validation and session management.
Sweden
BankID
{
"identityscheme": "sebankid",
"nameidentifier": "1373c272b61a4cb588b29c44883fe62f",
"sub": "{1373c272-b61a-4cb5-88b2-9c44883fe62f}",
"family_name": "Paulsen",
"ipaddress": "77.241.128.160",
}
The ssn field is the social security number.
Norway
BankID
{
"identityscheme": "nobankid-oidc",
"nameidentifier": "ee9b1bb905a6458e9f3b9d068f1a3765",
"sub": "{ee9b1bb9-05a6-458e-9f3b-9d068f1a3765}",
"uniqueuserid": "9578-6000-4-351726",
"certissuer": "CN=BankID - TestBank1 - Bank CA 3,OU=123456789,O=TestBank1 AS,C=NO;OrginatorId=9980;OriginatorName=BINAS;OriginatorId=9980",
"certsubject": "CN=Larsen\\, Mikkel,O=TestBank1 AS,C=NO,SERIALNUMBER=9578-6000-4-351726",
"birthdate": "1946-03-27",
"socialno": "27034698436",
}
The socialno field is the social security number. The uniqueUserId identifies the legal person corresponding to the login, and is not considered sensitive.
BankID Biometric
{
"identityscheme": "nobankid-oidc",
"authenticationtype": "urn:grn:authn:no:bankid:substantial",
"nameidentifier": "cde37629c67b4318988ca0b378931e7d",
"sub": "{cde37629-c67b-4318-988c-a0b378931e7d}",
"uniqueuserid": "9578-6000-4-476957",
"certissuer": "CN=BankID - TestBank1 - Bank CA 3,OU=123456789,O=TestBank1 AS,C=NO;OrginatorId=9980;OriginatorName=BINAS;OriginatorId=9980",
"birthdate": "1941-08-16",
"dateofbirth": "1941-08-16",
"emailaddress": "mikkel@idura.com",
"email": "mikkel@idura.com",
"mobilephone": "90724328",
"phone_number": "90724328",
"socialno": "16084138758",
}
The socialno field is the social security number.
Vipps
{
"identityscheme": "novippslogin",
"nameidentifier": "75dca5991ad74a0981c092d424b82fbc",
"sub": "{75dca599-1ad7-4a09-81c0-92d424b82fbc}",
"address": {
"street_address": "BOKS 6300, ETTERSTAD",
"formatted": "BOKS 6300, ETTERSTAD\n0603\nOSLO\nNO"
},
"birthdate": "1955-09-82",
"emailaddress": "mikkel@idura.com",
"mobilephone": "4748059940",
"socialno": "10098235846",
}
The socialno field is the social security number.
Denmark
MitID for citizens
{
"identityscheme": "dkmitid",
"nameidentifier": "0f9960a0d28d4353a3e2ea07f8ffa185",
"sub": "{0f9960a0-d28d-4353-a3e2-ea07f8ffa185}",
"uuid": "74ffcd31-fbaf-4c33-bdac-169f25c1e416",
"cprNumberIdentifier": "2101270087",
"birthdate": "1927-01-21",
"name": "Ditlev Von Testesen",
}
The cprNumberIdentifier field is the social security number.
MitID for citizens (with address lookup)
{
"identityscheme": "dkmitid",
"sub": "{3687039b-97c3-4c67-aeb6-4da85f7e5818}",
"address": {
"formatted": "Paiman Petersen\nGrusgraven 1,3 tv\n3400 Hillerød\n(Lokalitet ukendt)\nDanmark",
"common_name": "Paiman Petersen",
"street_address": "Grusgraven 1,3 tv",
"locality": "(Lokalitet ukendt)",
},
"address_details": {
"municipality": "Lyngby-Taarbæk",
"municipality_code": "0173",
},
"uuid": "8e6ab4ea-58b9-4130-a900-4366ba54eed9",
"cprNumberIdentifier": "2712589100",
"birthdate": "1958-12-27",
"name": "Paiman Petersen",
}
The cprNumberIdentifier field is the social security number.
MitID for company signatories
{
"identityscheme": "dkmitid",
"nameidentifier": "0f9960a0d28d4353a3e2ea07f8ffa185",
"sub": "{0f9960a0-d28d-4353-a3e2-ea07f8ffa185}",
"uuid": "74ffcd31-fbaf-4c33-bdac-169f25c1e416",
"cprNumberIdentifier": "2101270087",
"birthdate": "1927-01-21",
"name": "Ditlev Von Testesen",
"cvrNumberIdentifier": "12345678",
"2.5.4.10": "Testorganisation nr. 12345678",
"companySignatory": "true",
}
MitID Erhverv (MitID for business)
{
"identityscheme": "dkmitid",
"nameidentifier": "159d89fca2db4300a52ab7865f7b1ff3",
"sub": "{159d89fc-a2db-4300-a52a-b7865f7b1ff3}",
"uuid": "3c6d9757-1e70-438a-8dd3-5f84398c2e25",
"cvrNumberIdentifier": "12345678",
"2.5.4.10": "Testorganisation nr. 12345678",
"name": "Firstname Lastname",
"productionUnit": "1092738120",
"ridNumberIdentifier": "8636770830",
}
Finland
Finnish Trust Network - BankID
{
"identityscheme": "fitupas",
"nameidentifier": "788eb5abb2f84c0994a4d359f416f7ca",
"sub": "{788eb5ab-b2f8-4c09-94a4-d359f416f7ca}",
"name": "_19cfbd642c4a82b08613b841caf0e153c5956c14",
"family_name": "Tunnistus",
"birthdate": "1970-07-07",
}
The hetu field is the personal identity code.
Finnish Trust Network - Mobillivarmenne
Same as BankID, except the satu property will have a value as well.