To configure your Shibboleth SP to use the InCommon Federation Discovery Service, you must publish your SP's metadata in InCommon. To guard against security compromises, the Discovery Service will only direct users to the Discovery Response Endpoint in your published metadata. If you have not done so, update your metadata first before you configure your Shibboleth 2.x SP to use the InCommon Federation Discovery Service.
Determine your Discovery Response Endpoint
With Shibboleth SP version 2.4 and later, the location of your Discovery Response Endpoint is:https://host/Shibboleth.sso/Loginwhere host is the hostname of your SP.
The same endpoint also applies for Shibboleth SP 2.3.1 or easier if you have configured your <SessionInitiator> according to the example provided in the Configure Shibboleth SP version 2.3.1 (or earlier) section below.
Configure Shibboleth SP version 2.3.1 (or earlier)
Modify your SP 2.3.1 (or earlier) configuration file (shibboleth2.xml) to include a <SessionInitiator> of type SAMLDS, and URL pointing to https://wayf.incommonfederation.org/DS/WAYF: