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

Compare with Current View Page History

« Previous Version 17 Next »

Endpoint (standard)
URL<baseurl>/oauth/userinfo
AuthenticationBearer  (Default Token)

BankID OIDC has implemented an UserInfo enpoint. It is implemented as a resource server and expects an access_token as a Bearer token. There are no parameters. This service is the only way to get the nnin (fødselsnummer) of the authenticated user.

Request parameters

Support CORS??

Sjekk: signering av JSON med userinfo

Er det riktig at iss, iat og exp inngår i Userinfo??

Supported standard parameters are marked (tick) whereas (warning)  indicates future support. Unsupported parameters are marked (error). Non-standard parameters are marked (info).

ParameterSupportDescriptionComment
xyz(tick)  
xyz(error)  
xyz(warning)   
xyz(info)  

Response elements

Below is an example response from the OIDC Provider in its BankID pilot configuration in pre-production:

{
"sub": "9578-6000-4-127698",
"iss": "https://preprod.bankidapis.no",
"iat": 1485866449,
"exp": 1485870048,
"preferred_username": "Testesen, Test",
"name": "Testesen, Test",
"given_name": "Test",
"family_name": "Testesen",
"birthdate": "1980-03-09",
"nnin": "09038000010"
}

  • No labels