MitID CPR Address Lookup: New Address Information Feature in E-Ident Identification Requests

What is the change?

MitID in E-Ident has the possibility to fetch and return address information of the end-user during identification. To fetch address of the user, CPR of the user is required and hence "ssn" scope is required along with "address" scope in the request to E-Ident.

Address information is returned in the response in JSON format containing the below fields namely,

  • unit

  • city_name

  • zip_name

  • person_status

  • street_number

  • floor

  • street_name

  • zip_code

The person_status in the address data reflects the status of person in CPR. The possible values are:

  • active

  • activewithhighroadcode

  • activeregisteredresidenceingreenlandiccpr

  • activeregisteredresidenceingreenlandiccprwithhighroadcode

  • activeadministrativesocialsecuritynumber

  • cancelledsocialsecuritynumber

  • deletedsocialsecuritynumber

  • changedsocialsecuritynumber

  • missing

  • emigrated

  • deceased

Note: This feature is only available for MitID requests through OIDC and is not available for MitID CIBA, iFrame and SAML requests.

What this means to customers?

Customers can now expect to see "address" claim in E-Ident IdToken response when "address" and "ssn" scope is set in the MitID identification requests to E-Ident.

Additionally two new claims are included namely "authentication_result" with value pass or fail and "result_explanation" indicating the reason for issues during identification, if any.

ID Token examples:

Before the change:

{ "sub" : "mitid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "birthdate" : "DD.MM.YYYY", "dk_ssn" : "xxxxxxxxxx", "mitid_transactionid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "mitid.uuid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "amr" : [ "mitid" ], "iss" : "https://www.ident-preprod1.nets.eu/oidc", "pid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "nonce" : "nonce30/10/2026", "aal" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn" : "xxxxxxxxxx", "aud" : "MER2", "ial" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn_issuing_country" : "DK", "mitid_amr" : [ "code_app" ], "name" : "Name of the user", "exp" : 1793351950, "identity_type" : "private", "iat" : 1793351050, "jti" : "cbe2197bd13a4b3a833b2616b857a14d", "loa" : "https://data.gov.dk/concept/core/nsis/Substantial" }

After the change where the address is available:

{ "sub" : "mitid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "birthdate" : "DD.MM.YYYY", "dk_ssn" : "xxxxxxxxxx", "address" : "{\"unit\":\"tv\",\"city_name\":\"Hasseris\",\"zip_name\":\"Aalborg\",\"person_status\":\"active\",\"street_number\":\"002\",\"floor\":\"02\",\"street_name\":\"Industrivænget\",\"zip_code\":\"9000\"}", "authentication_result" : "pass", "mitid_transactionid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "mitid.uuid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "amr" : [ "mitid" ], "iss" : "https://www.ident-preprod1.nets.eu/oidc", "pid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "nonce" : "nonce30/10/2026", "aal" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn" : "xxxxxxxxxx", "aud" : "MER2", "ial" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn_issuing_country" : "DK", "mitid_amr" : [ "code_app" ], "name" : "Name of the user", "exp" : 1793351950, "identity_type" : "private", "iat" : 1793351050, "jti" : "cbe2197bd13a4b3a833b2616b857a14d", "loa" : "https://data.gov.dk/concept/core/nsis/Substantial" }

After the change where address information of the user is not available:

{ "sub" : "mitid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "birthdate" : "DD.MM.YYYY", "dk_ssn" : "xxxxxxxxxx", "authentication_result" : "pass", "mitid_transactionid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "mitid.uuid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "amr" : [ "mitid" ], "iss" : "https://www.ident-preprod1.nets.eu/oidc", "pid" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "result_explanation" : "name_address_protected", "nonce" : "nonce30/10/2026", "aal" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn" : "xxxxxxxxxx", "aud" : "MER2", "ial" : "https://data.gov.dk/concept/core/nsis/Substantial", "ssn_issuing_country" : "DK", "mitid_amr" : [ "code_app" ], "name" : "Name of the user", "exp" : 1793351950, "identity_type" : "private", "iat" : 1793351050, "jti" : "cbe2197bd13a4b3a833b2616b857a14d", "loa" : "https://data.gov.dk/concept/core/nsis/Substantial" }

Test Data:

MitID CPR Address lookup (Name address protected=false)

Gerhard14737 CPR: 1312814435

MitID CPR Address lookup (Name address protected=true)

PallePoul

CPR: 0708614815

Planned date for preproduction:

Planned date for production:


Need help/Have questions:

Please reach out to https://ingroupe.com/in-trust-services-support-contact-page/