Correspondence table for SAML and OIDC attributes
The correspondences between the attributes (urn:oid codes) of the SAML interface and the claims of the OIDC interface are described below. The actual data and their content remain the same in the migration and only the way of naming and transmitting the data changes.
- In the SAML interface, the attributes are identified with urn:oid codes (e.g., urn:oid:1.2.246.21).
- In the OIDC interface, the corresponding data are returned as id_token claims with their own names (e.g., nationalidentificationnumber). Read more in the instruction Scopes and claims.
Also see the instruction How do I change over from the SAML interface to the OIDC interface?
Observations
- The content of the attributes will not change. The SAML and OIDC interfaces return the same personal data with the same accuracy and at the same access levels.
- The way of naming the attributes differs. The SAML interface uses urn:oid codes and the OIDC interface uses claim names. In connection with the migration, the e-service must update its own implementation to read the data with the new claim names instead of urn:oid codes.
- Details: Some of the SAML attributes (PersonalIdentifier, Date of birth, Last name (eIDAS), First names) have an attribute identifier in accordance with the eIDAS standard instead of using the urn:oid form. Their OIDC equivalents can be found in the same claims that are used with the eidas scope.
Correspondence table for attributes
The meaning of the access licence levels (limited, medium, extensive) remains the same in the OIDC interface. Read more in the instruction Scopes and claims.
Data to be transmitted | SAML urn:oid | OIDC-claim | Access licence level |
|---|---|---|---|
Personal identity code, hetu | urn:oid:1.2.246.21 | nationalidentificationnumber | limited |
PersonalIdentifier (eIDAS) | http://eidas.europa.eu/attributes/naturalperson/PersonIdentifier | personidentifier | limited |
Date of birth | http://eidas.europa.eu/attributes/naturalperson/DateOfBirth | dateofbirth | limited |
Name, common name | urn:oid:2.5.4.3 | fullname | limited |
Full name | urn:oid:2.16.840.1.113730.3.1.241 | displayname | limited |
Preferred name | urn:oid:2.5.4.42 | givenname | limited |
Surname | urn:oid:2.5.4.4 | surname | limited |
Surname (eIDAS) | http://eidas.europa.eu/attributes/naturalperson/CurrentFamilyName | familyname | limited |
First names | http://eidas.europa.eu/attributes/naturalperson/CurrentGivenName | firstnames | limited |
Municipality number of municipality of residence | urn:oid:1.2.246.517.2002.2.18 | municipalitycode | medium |
Municipality of residence in Finnish | urn:oid:1.2.246.517.2002.2.19 | municipality_fi | medium |
Municipality of residence in Swedish | urn:oid:1.2.246.517.2002.2.20 | municipality_sv | medium |
Permanent local address in Finland, street address in Finnish | urn:oid:1.2.246.517.2002.2.4 | address_fi | medium |
Permanent local address in Finland, street address in Swedish | urn:oid:1.2.246.517.2002.2.5 | address_sv | medium |
Permanent local address in Finland, post code | urn:oid:1.2.246.517.2002.2.6 | postalcode | medium |
Permanent local address in Finland, town/city in Finnish | urn:oid:1.2.246.517.2002.2.7 | postoffice_fi | medium |
Permanent local address in Finland, town/city in Swedish | urn:oid:1.2.246.517.2002.2.8 | postoffice_sv | medium |
Permanent foreign local address, street address | urn:oid:1.2.246.517.2002.2.11 | foreignaddress | medium |
Permanent foreign local address, locality and state in Finnish | urn:oid:1.2.246.517.2002.2.12 | foreignaddresslocalityandstate_fi | medium |
Permanent foreign local address, locality and state in Swedish | urn:oid:1.2.246.517.2002.2.13 | foreignaddresslocalityandstate_sv | medium |
Permanent foreign local address, locality and state in plain text | urn:oid:1.2.246.517.2002.2.14 | foreignaddresslocalityandstate_cleartext | medium |
Permanent foreign local address, state code | urn:oid:1.2.246.517.2002.2.15 | foreignaddressstatecode | medium |
Email address | urn:oid:0.9.2342.19200300.100.1.3 | medium | |
Non-disclosure for personal safety reasons | urn:oid:1.2.246.517.2002.2.27 | protectionorder | medium |
Finnish citizenship | urn:oid:1.2.246.517.2002.2.26 | finnishcitizenship | extensive |
Foreign citizen's identifier (Finnish Authenticator) | urn:oid:1.2.246.517.3002.111.17 | foreignpersonidentifier | Requires approval of separate terms of use Finnish Authenticator |
Finnish Authenticator level of identification | urn:oid:1.2.246.517.3002.111.17.1 | identityassurancelevel | Requires approval of separate terms of use Finnish Authenticator |