HEAL-Link Identity Provider Proxy integration guide for Service Providers

Overview

HEAL-Link enables access to electronic resources (electronic journals, e-books and bibliographic databases) for Greek Universities, Research Institutions and their users. Specifically, HEAL-Link operates a SAML 2.0 Identity Provider/Service Provider (IdP/SP) Proxy service that acts as a central hub between the IdPs of HEAL-Link members, and the SPs that support federated access to electronic resources. This page provides information about connecting an SP to the HEAL-Link IdP proxy service in order to allow user logins through HEAL-Link and to receive user attributes.

Metadata exchange

SAML authentication relies on the use of metadata. Both parties (you as the SP and the HEAL-Link IdP) need to exchange metadata in order to establish technical trust. The metadata include information such as the location of the service endpoints that need to be invoked, as well as the certificates that will be used to sign SAML messages.

In order to configure metadata exchange with the HEAL-Link IdP it is necessary to provide the following information about your SP:

  1. entityID
  2. Metadata URL

Providing the metadata URL is optional if your metadata is already published to eduGAIN. If your SP is registered in some federation but it is not published to eduGAIN, it is recommended to provide the URL to signed federation metadata aggregate and the respective signing certificate. We can then cherry pick the metadata based on the SP entityID.

The URL should employ the HTTPS scheme, in which case server certificate verification will be performed, so you need to ensure that visiting the URL using a modern browser does not throw any warnings or errors.

The provided metadata must adhere to the metadata specification for SAML 2.0.

The respective information for the HEAL-Link IdP is provided as follows:

  1. entityID: https://aai.heal-link.gr/proxy/saml2/idp/metadata.php
  2. Metadata URL: https://aai.heal-link.gr/proxy/saml2/idp/metadata.php

The metadata is signed with the following key:

-----BEGIN CERTIFICATE-----
MIIE8DCCA9igAwIBAgIQBwuG6beO3Ls70a+FZLr3bjANBgkqhkiG9w0BAQUFADA2
MQswCQYDVQQGEwJOTDEPMA0GA1UEChMGVEVSRU5BMRYwFAYDVQQDEw1URVJFTkEg
U1NMIENBMB4XDTEzMDIwMTAwMDAwMFoXDTE2MDIwMTIzNTk1OVowgZAxCzAJBgNV
BAYTAkdSMQ8wDQYDVQQIEwZBdHRpa2kxDzANBgNVBAcTBkF0aGVuczEuMCwGA1UE
ChMlR3JlZWsgUmVzZWFyY2ggYW5kIFRlY2hub2xvZ3kgTmV0d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vcNAQEFBQAD
ggEBACX/ezppaSD9Vcsz/OrHssZ4bBEWIBz5NZ1AdexMjRTD/grcdOJF+x0up9m0
qhQzVJnf+pqWGqTtGgjnV8NTvPeMm5wHZowgPHYbWjQQiMAyog4AXrSvvpMbYILy
Et1KdfVavQq9IyWKMFYpM4r2jt8qCKtMFYzIFMSfaycsD953X0eJL7qAKakZfhiW
78ihU3QLhSlCKY27uQFOV4NyZHR3TiI5pgTUfiRoFt78S+5tQ+8qYDEphavXdnKF
NNnEUrTozHx+q/96m+bWF5oexmWE/83FHHpsNvIeJMko5Ms6ScZJoMJeOrXMaffe
sS4ot9FjWClZjnunhYzzqk4cNMQ=
-----END CERTIFICATE-----

The aggregate metadata of downstream entities is also provided at the following URL, for your reference. These are the IdPs of HEAL-Link members connected to the HEAL-Link IdP/SP proxy service.

https://aai.heal-link.gr/proxy/proxied-entities

Attributes

The HEAL-Link IdP Proxy will return a SAML assertion to the SP, providing information about an authenticated user. The following table lists the supported attributes and indicates their availability:

Attribute friendly name Attribute Name Description Example value Availability
eduPersonEntitlement urn:oid:1.3.6.1.4.1.5923.1.1.1.7 A value of urn:mace:dir:entitlement:common-lib-terms indicates the user's right to access electronic resources urn:mace:dir:entitlement:common-lib-terms Subject to attribute release by home IdP
authnAuthority urn:oid:1.3.6.1.4.1.16515.2.5.1.1 One or more identifiers (entityID) of authentication authorities that were involved in the authentication of the user (not including the assertion issuer, i.e the HEAL-Link IdP) https://login.auth.gr/saml2/idp/metadata.php Always
eduPersonScopedAffiliation urn:oid:1.3.6.1.4.1.5923.1.1.1.9 The user's affiliation within a particular security domain in broad categories such as student, faculty, staff, alum etc. faculty@med.auth.gr Subject to attribute release by home IdP
schacHomeOrganization urn:oid:1.3.6.1.4.1.25178.1.2.9 The domain name for the user's home organisation auth.gr Subject to attribute release by home IdP
mail urn:oid:0.9.2342.19200300.100.1.3 The user's e-mail address (one or more) johndoe@auth.gr Subject to attribute release by home IdP

Mapping users to their home organizations

An SP may need to determine the home organization of a user authenticated through the HEAL-Link IdP proxy. The SAML assertion returned to the SP is issued by the proxy: the issuer will match the entityID of the HEAL-Link IdP proxy. This means it can not be used to match the entityID of the home organization, i.e. the IdP for the HEAL-Link member who authenticated the user. There are other ways to do this mapping, provided as follows: