"std::exception at (https://sp.example.com/secure)
basic_string::_S_construct NULL not valid"
This is my first time setting up an SP to the federation; I inserted the following into the 'shibboleth2.xml' file:
"<SessionInitiator type="Chaining" Location="/WAYF" isDefault="true" id="WAYF" relayState="cookie" >
<SessionInitiator type="SAML2" acsIndex="1" template="bindingTemplate.html"/>
<SessionInitiator type="Shib1" acsIndex="5"/>
<SessionInitiator type="WAYF" URL="https://example.federation/WAYF"/>
</SessionInitiator>"
Bug, it's been fixed. Only workaround for the moment is to copy the
acsIndex attribute from the Shib1 handler, but you shouldn't need to use
the WAYF protocol at this point. Any deployments today should be using the
SAMLDS variant, which doesn't have the bug.
-- Scott