<div dir="ltr"><p class="MsoNormal">Hi,</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I have Shibboleth SP 2.5.3 
implemented against Microsoft AD FS as the IdP. </p>

<p class="MsoNormal">The SP initiated login is working fine with no errors or
warnings.</p>

<p class="MsoNormal">However when attempting an IdP initiated login through <a href="https://sts.someurl.com/adfs/ls/idpinitiatedsignon">https://sts.someurl.com/adfs/ls/idpinitiatedsignon</a>,
the process starts properly, user fills credentials, then gets redirected back
to the SP and gets the error “An unexpected error has occurred” at the
url: <a href="https://someSPsite.com/Shibboleth.sso/SAML2/POST">https://someSPsite.com/Shibboleth.sso/SAML2/POST</a></p>

<p class="MsoNormal">The error in the shib logs says: </p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.Listener [14180]
isapi_shib_extension: sending message (default/SAML2/POST)</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.Listener [14180]
isapi_shib_extension: send completed, reading response message</p>

<p class="MsoNormal">2014-12-18 10:07:09 ERROR Shibboleth.ISAPI [14180]
isapi_shib_extension: URL is malformed.</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.SessionCache [14180]
isapi_shib_extension: searching local cache for session
(_ee632bf7b878513638722b20e64e816c)</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.SessionCache [14180]
isapi_shib_extension: session not found locally, remoting the search</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.Listener [14180]
isapi_shib_extension: sending message (find::StorageService::SessionCache)</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.Listener [14180]
isapi_shib_extension: send completed, reading response message</p>

<p class="MsoNormal">2014-12-18 10:07:09 DEBUG Shibboleth.SessionCache [14180]
isapi_shib_extension: session not found in remote cache</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">I’m not quite sure how to troubleshoot “isapi_shib_extension:
URL is malformed.”</p>

<p class="MsoNormal">Is this a configuration issue on the IdP or the SP side? are
there any suggested solutions?</p>

<p class="MsoNormal"> </p>

<p class="MsoNormal">Any help is appreciated.</p>

<p class="MsoNormal">Thanks</p>

<p class="MsoNormal">Luay</p></div>