You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 29 Next »

Sjekk: signering av JSON med userinfo

The Userinfo endpoint supports an additional set of claims beyond the basic set of claims included in the ID Token. The set of claims actually returned via Userinfo depends on the scopes and claims requested by the OIDC Client.

Note that the basic set of claims from the ID Token are duplicated in the Userinfo responseNote further that additional claims beyond this basic set do as a rule-of-thumb demand explicit consent from the end-user.

The set of additional claims include both standardized and non-standardized elements. Supported standarized claims are marked by (tick) or (warning) in the following table. Claims marked by (warning) are currently not supported but will be added. Unsupported standardized claims are marked with (error).  Non-standard claims are marked with (info) and are specific for the OIDC Provider from BankID. 

ClaimSupportExampleDescriptionCommentEditorial comment
sub(tick)9578-5999-4-1765512Subject IdentifierDuplicated from ID Token 
name(tick)Nilsen, Frode BeckmannFull nameDuplicated from ID Token 
gender(warning) GenderDuplicated from ID TokenMust be added
birthdate(tick)1966-12-18BirthdateDuplicated from ID Token 
given_name(tick)Frode BeckmannGiven name (first name)  
family_name(tick)NilsenSurname (last name)  
middle_name(warning) Middle Name Must be added
nickname(error) Casual name  
preferred_username(tick)Nilsen, Frode BeckmannShorthand name Must be reviewed
profile(error) Profile page URL  
picture(error) Picture URL  
website(error) Homepage URL  
email(warning) Preferred email Must be added
email_verified(warning) Email verification status Must be added
zoneinfo(error) Time zone  
locale(error) Locale  
phone_number(tick)95871775Preferred phone numer  
phone_number_verified(tick)falsePhone number verification status  
address(tick){ "formatted": "Lybekkveien 11C\n0772 Oslo\nNorway", "country": "Norway", "street_address": "Lybekkveien 11C", "postal_code": "0772", "locality": "Oslo", "house_number": "11", "house_letter": "C", "street_name": "Lybekkveien" }Postal addressStandardized claim with both standardized and non-standard sub-claims 
updated_at(warning)1468582440Update timeEpoc time of latest update of any data element behind any of the supported claimsMust be added
nnin(info)181266*****Norwegian National Identity Number (fødselsnummer)  
all_phone_numbers(info) {{"number":"95871775","number_verified":false},{"number":"46897469","number_verified":false},{"number":"94782958","number_verified":false}}   
Sub-claims of address
formatted(tick)Lybekkveien 11C\n0772 Oslo\nNorwayFull mailing address  
street_address(tick)Lybekkveien 11CFull street address  
locality(tick)OsloCity or locality  
region(error) Region  
postal_code(tick)0772Postal code  
country(tick)NorwayCountry  
street_name(info) Lybekkveien

 Street name component from street_address

 To be reviewed
house_numer(info) 11House number component from street_address To be reviewed
house_letter(info) CHouse letter component from street_address To be reviewed

  

 

  • No labels