Klarna Docs - Scopes and claims

Scopes and claims

The OIDC protocol supports the scopes outlined in the table below. The scopes needed for your application will be whitelisted upon client registration.

scopeclaimtypeexample
email
emailstringtest@test.com
email_verifiedbooleantrue
phone
phoneString in format +[\d]++4670111222
phone_verifiedbooleantrue
profilegiven_namestringSven
family_namestringSvensson
date_of_birthISO 86011990-01-01
localeISO 3166en-US
billing_addressbilling_addressobject{
"street_address": "Sveavägen 46",
"postal_code": "11134",
"organization_name": "Klarna",
"city": "Stockholm",
"region": "Stockholm",
"country": "Sweden"
}
national_identification_number
national_identification_numberString in format /^\d{12}$/199711211641
national_identification_number_countryISO 3166se
ScopeDescription
offline_accessIssues refresh token which is needed to request new access tokens that can be used in the Klarna purchase flow.
openidNecessary to receive an id_token which contains all the requested claims.
create_payment_sessionAllows using SIWK token to automatically log consumers into their Klarna account when making a purchase.