Standard scopes

Kenni ships with a fixed set of identity scopes for the authenticated user, the company on whose behalf the user is acting (for delegated sessions), and the actor (the human in a delegation). Each scope releases one or more claims on the ID token and the user-info endpoint.

Scopes marked auto-consent are released without prompting the user. The remaining scopes require your application to have the consent feature enabled — they only show up in the Consent tab of an application once consent is on.

The exact scopes a given application can request — filtered by its plan tier and feature configuration — are listed under Requestable identity scopes on the application's Overview tab in the developer portal.

Session

ScopeClaimsNotes
openidsub, actorRequired for any OIDC flow. Auto-consent.
offline_accessoffline_accessRequired for a refresh token to be issued. Auto-consent.

User identity

Released about the authenticated end user.

ScopeClaimsNotes
display_namedisplay_name, nameThe user's editable display name. Requires consent.
picturepictureProfile picture. Requires consent.
national_idnational_idNational identification number. Auto-consent.
audkenni_nameaudkenni_name, nameName as reported by Audkenni. Auto-consent.
audkenni_phone_numberaudkenni_phone_numberPhone number as reported by Audkenni. Auto-consent.
phone_numberphone_number, phone_number_verifiedEditable phone number. Requires consent.
emailemail, email_verifiedEmail address. Requires consent.

Company

Released for delegated sessions where the user is acting on behalf of a company. Requires the company delegation feature.

ScopeClaimsNotes
company_display_namecompany_display_name, nameCompany's editable display name. Requires consent.
company_namecompany_name, nameLegal name from the company registry. Auto-consent.
company_emailcompany_emailCompany email. Requires consent.
company_phone_numbercompany_phone_numberCompany phone number. Requires consent.
company_logocompany_logoCompany logo. Requires consent.

Actor

In a delegated session the actor is the human acting on behalf of the subject. Released under the actor.* namespace. Requires the delegation feature.

ScopeClaimsNotes
actor_display_nameactor.display_name, actor.nameActor's editable display name. Requires consent.
actor_audkenni_nameactor.audkenni_name, actor.nameActor's name from Audkenni. Auto-consent.
actor_audkenni_phone_numberactor.audkenni_phone_numberActor's phone from Audkenni. Auto-consent.
actor_pictureactor.pictureActor's profile picture. Requires consent.
actor_national_idactor.national_idActor's national ID. Auto-consent.
actor_phone_numberactor.phone_numberActor's editable phone number. Requires consent.
actor_emailactor.emailActor's email. Requires consent.
delegation_typedelegation_typeThe type(s) of delegation in use. Auto-consent.

Deprecated

These scopes are kept for backwards compatibility. Use the replacement instead.

ScopeReplacementClaims
profiledisplay_namename
actor_profileactor_display_nameactor.name

Next steps