Scopes

These are the scopes you can use in a call to HelseID:

Name Claims in token Description
openid Request use of the openid protocol, with support for id_tokens containing the sub claim. OIDC standard scope - required when using OpenID Connect
profile given_name, middle_name, family_name, name OIDC standard scope. The scope also gives access to the userinfo-endpoint.
offline_access If the client is set up for the use of Refresh Tokens, the call to the Token Endpoint will give out a refresh token in the response.
helseid://scopes/identity/all Includes all identity claims below (se Claims).
helseid://scopes/hpr/hpr_number helseid://scopes/hpr/hpr_number
helseid://scopes/identity/pid helseid://claims/identity/pid
helseid://scopes/identity/security_level helseid://claims/identity/security_level
helseid://scopes/identity/network helseid://claims/identity/network
helseid://scopes/identity/pid_pseudonym helseid://claims/identity/pid_pseudonym Will be deprecated (the sub claim will contain the same value).
helseid://scopes/identity/assurance_level helseid://claims/identity/assurance_level Will be deprecated