Advice for IdPs Deployed in the InCommon Federation
Effective federation depends on IdPs that are both interoperable and trustworthy. This page provides advice from InCommon and its Participants on how to achieve that.
Is your IdP secure and trustworthy?
A trustworthy IdP is the basic building block of the InCommon Federation.
- All SAML exchanges are protected with XML Signature and/or TLS.
- SAML keys are securely generated and stored (see: IdP Key Handling)
- SAML keys are not shared with other entities
- SAML assertions are signed using:
- a strong 2048-bit key
- the SHA-256 digest algorithm
- All browser-facing SAML endpoints are protected with TLS (see: TLS Server Certificates)
- TLS certificates are trusted by the browser
- TLS keys are securely generated and stored
- The IdP's Logo URL is protected with TLS
Maintain positive control of your private keys at all times. Most importantly, safeguard the IdP signing key, which protects all Federation participants from the disastrous consequences of a key compromise.
Is your IdP interoperable?
By definition, an interoperable IdP strives to provide an overall positive federated user experience.
- Consume all the SP metadata in the world!
- Automatically refresh InCommon metadata at least daily OR
- Retrieve metadata just-in-time via the Metadata Query Protocol
- Support SAML2 Web Browser SSO
- Publish a SAML2
SingleSignOnService endpoint that supports the HTTP-Redirect binding
- Publish long-lived, self-signed certificates in metadata
- Publish technical, administrative, and security contacts in metadata
- Stabilize the following metadata elements:
- endpoint locations
- Support at least the following user attributes:
- persistent, non-reassigned identifier
- eduPersonUniqueId OR
- eduPersonTargetedID OR
- eduPersonPrincipalName (if non-reassigned)
- person name
- displayName OR
- givenName + sn (surname)
- email address
- mail attribute
- Stabilize the values of persistent identifiers and scoped attributes
- Adopt a measured attribute release process
- [Level 0 Interoperability] Release a persistent, non-reassigned identifier to all SPs (or at least to all SPs registered by InCommon)
- [Level 1 Interoperability] Release the Research & Scholarship attribute bundle to all R&S SPs (or at least to all R&S SPs registered by InCommon)
- [Level 2 Interoperability] Release the Essential Attribute Bundle to all SPs (or at least to all SPs registered by InCommon)
- Test and monitor all IdP endpoints 24x7