Page tree
Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 33 Next »

A minimum ID Token returned by the OIDC Provider from BankID contains the following standardized claims, among which sub is the only claim that is linked to the actual user. 

ClaimSupportExampleDescriptionCommentEditorial comment
iss(tick)https://preview.bankidapis.noIssuer Identifier for the Issuer  
sub(tick)9578-5999-4-1765512Subject IdentifierPersonal Identifier from BankID
(Serial number from associated BankID certificate)
 
aud(tick)DotNetClientAudienceAlways includes client_id 
exp(tick)1494144386Expiration timeEpoc time 
iat(tick)1494140787Issuing timeEpoc time 
auth_time(tick)1494140786Authentication timeEpoc time 
nonce(tick)<random value>Nonce  
acr(warning)4Authentication Context ClassLevel of Assurance for IDP option being usedMust be added
amr(tick)BankIDAuthentication Method ReferenceName of IDP option being used 
azp(tick)DotNetClientAuthorized partyEquals client_id 
alg RS256Algorithm used to sign ID Token  
typ JWTType of key used to sign ID Token  
kid bankid-oauthID of key used to sign ID Token  
at_hash(warning)<hash value>Access Token hash value Must be added. Required for hybrid flow and implicit flow
c_hash(tick)<hash value>Code hash valueHybrid flow 

Note that a minimum ID Token can be used by OIDC Clients that need to authenticate end-users in an anonumous way. The sub value does not identify the user unless it is linked by the OIDC Client to other claims about the end user associated with that sub value.  

The following set of basic (and standardized) claims about the end user may in addition be added to the ID Token, depending on the scopes and claims actually requested by the OIDC Client. 

ClaimSupportExampleDescriptionCommentEditorial comment
name(tick)Nilsen, Frode BeckmannFull nameCommonName from associated BankID certificate 
gender(warning) MaleGender Must be added
birthdate(tick)1966-12-18Birthdate  

Additional claims about the authenticated user beyond this basic set is available via Userinfo associated with the Additional Information service. The above basic claims from the ID Token are duplicated in the reponse from Userinfo.

Note that the basic claims are returned in the ID Token automatically without requesting an explicit consent from the end-user. This is in contrast to additional claims available via Userinfo that as a rule-of-thumb demand explicit consent from the user.  

 

 

 

  • No labels