Document toolboxDocument toolbox

Scopes and claims (TINFO Userinfo)

The standard scopes and claims in OpenID Connect are supported by TINFO Userinfo as shown in the below tables. .

Note that several of the claims associated with the profile scope are also included in the ID Token. Accordingly, there is no need to call TINFO Userinfo to retrieve such claims.

Scopes

See the section on Access Tokens for further information on the use of these scopes

ScopeSupportComment
profile(tick)

See associated claims in table below

Does also govern content of ID Token

address(tick)See associated claims in table below
email(tick)See associated claims in table below
phone(tick)See associated claims in table below
nnin(tick)

See associated claims in table below.

Claims

ClaimScopeSupportConsentComment
subprofile(tick) Subject Identifier. Also contained in ID Token
nameprofile(tick) Common Name from associated BankID certificate. Also contained in ID Token 
given_nameprofile(tick) First name part of the name claim. Also contained in ID Token 
familiy_nameprofile(tick) Last name (surname) part of the name claim. Also contained in ID Token 
middle_nameprofile(error)  
nicknameprofile(error)  
preferred_usernameprofile(error)  
profileprofile(error)  
pictureprofile(error)  
websiteprofile(error)  
emailemail(tick)(thumbs up)Email is registered by end user himself for the TINFO service
email_verifiedemail(error)  
genderprofile(error)  
birthdateprofile(tick) Birthdate from associated BankID certificate. Also contained in ID Token 
zoneinfoprofile(error)  
localeprofile(error)  
phone_numberphone(tick)(thumbs up)Phone number is registered by end user himself for the TINFO service
phone_number_verifiedphone(error)  
addressaddress(tick)(thumbs up)

JSON structure with sub-elements as shown below

Address is registered by the end user himself for the TINFO service

address:formattedaddress(tick) Full address string

address:street_address

address(tick) Street address from
address:localityaddress(tick) Norwegian "poststed"
address:regionaddress(error)  
address:postal_codeaddress(tick) Norwegian "postnummer"
address:countryaddress(error)  
updated_atprofile(tick) Epoc time for latest update of any of the supported TINFO data elements
nninnnin(tick)(thumbs up)Norwegian National Identiy Number (aka Norwegian SSN).