If you want your service to be connected to SURFconext, metadata must be exchanged between you and SURFconext. After this your service and SURFconext will know and trust each other. The exchange of metadata is done only once: there is no exchange in the authentication process itself.
The exchange is a two way process:
- The Service Provider must read metadata from SURFconext.
- SURFconext must read metadata from the Service Provider.
Configure SURFconext as your Identity Provider
Preferably you configure SURFconext as your Identity Provider automatically, by using a SAML 2.0 metadata file, to be downloaded here. The metadata for the test environment can be found here. How you enter the metadata in your software depends on the software used. Generally you import the metadata file or place it in a specific location.
The metadata will configure your service to see SURFconext as the only IdP and will let SURFconext do the IdP discovery for you. This is the WAYF selection page. It is used for both the Test and the Production environment.
If your software cannot process the metadata file automatically, you must configure the necessary information manually:
- EntityID of the SURFconext Identity Provider
This location is used by your SAML software to send an AuthnRequest to
- Signing Certificate
You'll find the production certificate file here and the test certificate file here. The certificate is used to verify the SAML assertion sent to your Assertion Consumer Service endpoint, making it possible to have a safe connection between SURFconext (IdP) and your service (SP).
If your software only needs the certificate fingerprint:
$ openssl x509 -inform PEM -in SURFconext.pem -noout -fingerprint
- NameIDFormat must be one of:
- urn:oasis:names:tc:SAML:2.0:nameid-format:transient (default)
- urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified (legacy, do not use)
Name IDFormat tells an Identity Provider to return the NameID (user identifier) in a specific format.
An SP can request a specific NameID format in the AuthnRequest using the NameIDPolicy - Format element. Whether this request is honored is subject to policy.
Inform SURFconext about your service
To be able to configure a connection with your service, SURFconext Support needs some information about your service. This can be given by using the recommended SAML 2.0 metadata file or manually. Most SAML Service Provider enabled software can produce a metadata file. You can send the URL of the location of the metadata file on your web server to SURFconext via the SP Dashboard.
SAML metadata element
Mandatory in SAML metadata1
Technical name of your service
Endpoint where users need to be sent back to after authentication
Location: URL of your AssertionConsumingService (ACS). In production this must be HTTPS with a trusted and valid SSL certificate
Format of the NameID you will receive when a user is authenticated via SURFconext
Information about your administrative, technical and support contacts.
Use contactType="administrative", contactType="technical" or contactType="support" in the ContactPerson element when adding this to your metadata
Name of your service
Description of your service
The attributes your service requires, including the reason why it is required
Logo of your service
500 x 300 pixels, PNG format with transparent background
1 If you provide SURFconext Support with a SAML metadata file, these fields must be part of that file.
2 You must provide this information to SURFconext Support via the SP Dashboard.