Skip to main content

Attributes reference

You use Norwegian BankID to verify the end-user's identity and obtain relevant personal details about them. This page summarises user information you can request and receive for the OIDC and the Authentication REST API protocols. We also support SAML 2.0, but this is not documented yet.

OIDC scopes and claims

You can use the following scopes to request user information from an end-user using Norwegian BankID.

Include user data claims in Id token

By default, all claims listed in this table are returned in the UserInfo endpoint. In addition, you can configure user data claims to be returned in the Id token. You can set this up in the Dashboard > OIDC client under Advanced Security > Id Token User data. The right column shows the values required to include each claim in the Id token.

ScopeClaimExampleDescription"Id Token User Data" values
profilenameKari NordmannThe full name of the end-user.StandardScopes or All
given_nameKariThe first name of the end-user.StandardScopes or All
family_nameNordmannThe surname of the end-user.StandardScopes or All
birthdate1990-02-17The date of birth of the end-user.StandardScopes or All
idp-ididp_id9578-6000-4-1663921Personal identifier set by the identity provider.StandardScopes or All
ninnin17029012345The national identity number (“fødselsnummer”) of the end-user.All
nin_issuing_countryNOThe issuing country of the national identity. Always “NO” for Norwegian BankID.All
nin_typeBIRTHThe type of national identity number. Always “BIRTH” for Norwegian BankID.All
nbid-extranbid_updated_at1606394130000Time when the end-user’s information was last updated, measured in seconds since epoch time.Standard Scopes or All
nbid_tid62c12db4-a6a3-42ad-8ab8-51a87e2a96ceNorwegian BankID’s identifier for the transaction. Used for auditing and tracing purposes.All
nbid_originatorCN=BankID Bankenes ID-tjeneste Bank CA 2, OU=988477052,O=Bankenes ID-tjeneste AS,C=NO;OriginatorId=9775; OriginatorName=Gjensidige Bank RA 1Issuer of the end-user certificate.All
nbid_idpBIDThis value decides the flow type used during the transaction, either BID (BankID High) or BIS.All
nbid_auth_time1709206279Time when the end-user was authenticated, measured in minutes since epoch timeAll
nbid_alternative_subject9578-6000-4-1663921Personal Identifier (PID / Serial Number) from associated Norwegian BankID certificate.All
nbid_additional_cert_info{"certValidFrom": 1554448774000, "serialNumber": "1055610", "keyAlgorithm": "RSA", "keySize": "2048", "policyOid": "2.16.578.1.16.1.12.1.1", "monetaryLimitAmount": "100000", "certQualified": true, "monetaryLimitCurrency": "NOK", "certValidTo": 1617607174000, "versionNumber": "3", "subjectName": "CN=Nordmann\\, Kari,O=TestBank1 AS, C=NO,SERIALNUMBER=9578-6000-4-877"}Additional information about the end-user certificate, formatted as a JSON string.All
nbid_subject_uuide6418f52-b90d-49ea-a448-a73d39f24ec7Norwegian BankID’s unique identifier for the user.All

See also Control the Norwegian BankID flow (acr_values and login_hint).

OIDC response example

You can use the following scopes to request user information from an end-user using Norwegian BankID: This example shows the section with the user information attributes.

{
"family_name": "Kari",
"given_name": "Nordmann",
"birthdate": "1990-02-17",
"nin": "17029012345",
"nin_type": "BIRTH",
"nin_issuing_country": "NO",
"nbid_tid": "1ebe3243-ec47-42fe-9f3b-8f323e1e0d53",
"nbid_auth_time": "1709206572",
"nbid_alternative_subject": "9578-6000-4-877",
"nbid_originator": "CN=BankID - TestBank1 - Bank CA 3,OU=123456789,O=TestBank1 AS,C=NO;OrginatorId=9980;OriginatorName=BINAS;OriginatorId=9980",
"nbid_updated_at": "1708682096000",
"nbid_additional_cert_info": "{\"certValidFrom\":1606394130000,\"serialNumber\":\"1407572\",\"keyAlgorithm\":\"RSA\",\"keySize\":\"2048\",\"policyOid\":\"2.16.578.1.16.1.12.1.1\",\"monetaryLimitAmount\":\"100000\",\"certQualified\":true,\"monetaryLimitCurrency\":\"NOK\",\"certValidTo\":1669466130000,\"versionNumber\":\"3\",\"subjectName\":\"CN=Nordmann\\\\,Kari,O=TestBank1 AS,C=NO,SERIALNUMBER=9578-6000-4-877\"}",
"nbid_subject_uuid": "e6418f52-b90d-49ea-a448-a73d39f24ec7",
"nbid_idp": "BID",
"sub": "6NZrmEFWVaQij7tQgDSlsG6H6nBpVbZneQKZMrkJbls="
}

Authentication REST API attributes

The Signicat Authentication REST API supports the following request and response attributes for Norwegian BankID:

AttributeSub-fieldExampleDescription
nameKari NordmannThe full name of the end-user.
firstNameKariThe first name of the end-user.
lastNameNordmannThe surname of the end-user.
dateOfBirth1990-02-17The date of birth of the end-user.
idpId9578-6000-4-1663921Personal identifier set by the identity provider.
ninvalue17029012345The national identity number (“fødselsnummer”) of the end-user.
issuingCountryNOThe issuing country of the national identity. Always “NO” for Norwegian BankID.
typeBIRTHThe type of national identity number. Always “BIRTH” for Norwegian BankID.
nbidUpdatedAt1708682096000Time when the end-user’s information was last updated, measured in milliseconds since epoch time.
nbidTid62c12db4-a6a3-42ad-8ab8-51a87e2a96ceNorwegian BankID’s identifier for the transaction. Used for auditing and tracing purposes.
nbidOriginatorCN=BankID Bankenes ID-tjeneste Bank CA 2, OU=988477052,O=Bankenes ID-tjeneste AS,C=NO;OriginatorId=9775; OriginatorName=Gjensidige Bank RA 1Issuer of the end-user certificate.
nbidIdpBIDThis value decides the flow type used during the transaction, either BID (BankID High) or BIS (BankID Biometric).
nbidAuthTime1709207560Time when the end-user was authenticated, measured in seconds since epoch time
nbidAlternativeSubject9578-6000-4-1663921Personal Identifier (PID / Serial Number) from associated Norwegian BankID certificate.
nbidAdditionalCertInfo{"certValidFrom": 1554448774000, "serialNumber": "1055610", "keyAlgorithm": "RSA", "keySize": "2048", "policyOid": "2.16.578.1.16.1.12.1.1", "monetaryLimitAmount": "100000", "certQualified": true, "monetaryLimitCurrency": "NOK", "certValidTo": 1617607174000, "versionNumber": "3", "subjectName": "CN=Nordmann\\, Kari,O=TestBank1 AS, C=NO,SERIALNUMBER=9578-6000-4-877"}Additional information about the end-user certificate, formatted as a JSON string.
nbidSubjectUuide6418f52-b90d-49ea-a448-a73d39f24ec7Norwegian BankID’s unique identifier for the user.

Authentication REST API response example

The response example below shows the section with the user information attributes.

{
"id": "58126fb8-c5e2-...",
"accountId": "a-sdge-...",
"authenticationUrl": "https://<YOUR_SIGNICAT_DOMAIN>/broker/sp/external-service/login?messageId=21b064c3-28b...",
"status": "SUCCESS",
"provider": "nbid",
"subject": {
"id": "opuc4kyFUWPkfdmfYTzjS89u6ZCWLHWLZfPR5hpBW24=",
"idpId": "9578-6000-4-1663921",
"name": "Kari Nordmann",
"firstName": "Kari",
"lastName": "Nordmann",
"nin": {
"value": "17029012345",
"issuingCountry": "NO",
"type": "BIRTH"
},
"nbidAuthTime": "1709207560",
"nbidUpdatedAt": "1708682096000"
}
}