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

Compare with Current View Page History

« Previous Version 5 Next »

Attributes and claims

In SAML, attributes contain information about the authenticated user, such as name, email address or affiliation. OpenID Connect (OIDC) calls these claims. In SURFconext, the user authenticates at his Identity Provider (called OpenID Provider in OIDC) - this all happens using SAML. SURFconext translates the incoming SAML attributes to OIDC claims and provide them at the userinfo endpoint for your Service Provider to consume.

Please note: SURFconext only caches the claims at the userinfo endpoint for a limited amount of time, namely 1 hour (after a successful authentication). If you request claims at the userinfo endpoint after this, the user is required to re-authenticate.

An extensive list of SAML attributes together with their details and properties is located here: Attributes in SURFconext. Those SAML attributes are provided by institutions connected to SURFconext as Identity Provider. You can use any of those attributes in your service, however you must comply with our data minimisation policy, meaning you are only allowed to receive the bare minimum of attributes strictly needed for you to operate your service.

The following table describes the translation from SAML attributes to OIDC claims:

 

OIDC claimDescription of SAML attribute
subOpenID Subject (not available as SAML attribute)
given_nameGivenname attribute
family_nameSurname attribute
nameDisplay name attribute
localePreferred language attribute
emailEmail address attribute
schacHomeOrganizationOrganization attribute
schacHomeOrganizationTypeOrganization type attribute
eduPersonAffiliationAffiliation attribute
eduPersonEntitlementEntitlement attribute
uidUid attribute
schacPersonalUniqueCodePersonal code attribute
  • No labels