<div dir="ltr">Hi,<div><br></div><div>I&#39;ve configured Shib as the Idp and an ADFS 3.0 as the Sp.</div><div><br></div><div>The integration uses the IdPAuthExternal mechanism in order to provide a second factor of authentication. This is how the flows happens:</div><div><br></div><div>1. User goes to the ADFS app where all Claim Providers are listed.</div><div>2. The user selects Shib&#39;s Idp</div><div>3. The user is redirected to an external app where his credentials and second factor are validated.</div><div>4. Once the external auth is completed, the app sends the respond to Shib and then it&#39;s send to the ADFS, but the ADFS some how (I don&#39;t know why) it sends back the users to step 3, where the user needs to start the whole authentication process all over again. Once that it&#39;s ready and Shib sends the respond to the ADFS (for the second time) NOW the user can access the SP application configured in the ADFS.</div><div><br></div><div>I&#39;ve seen that when my external app sends the respond to Shib&#39;s Idp and this sends the respond to the ADFS, this one tries to access the next URL (but later on it sends the user back to my external app, to repeat the authentication process, as I have just mentioned):</div><div><br></div><div><a href="https://adfs-domain/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3a%2f%2appcomain.com%2fapp.internet%2f&amp;wfresh=5&amp;wctx=rm%3d0%26id%3dpassive%26ru%3d%252fapp.internet%252fHome%252fStart&amp;wct=2015-01-22T00%3a15%3a24Z">https://adfs-domain/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3a%2f%2appcomain.com%2fapp.internet%2f&amp;wfresh=5&amp;wctx=rm%3d0%26id%3dpassive%26ru%3d%252fapp.internet%252fHome%252fStart&amp;wct=2015-01-22T00%3a15%3a24Z</a><br></div><div><br></div><div>But after the user has repeated for the second time the authentication, the previous URL is not showed at all. Is this a miss configuration from the ADFS or Shib? </div><div><br></div><div>I don&#39;t know if this has to do with my configuration with my ExternalAuth handler, next you can see my configuration:</div><div><br></div><div><div>    &lt;ph:LoginHandler xsi:type=&quot;ph:ExternalAuthn&quot;</div><div>                      externalAuthnPath=&quot;ext/login&quot;</div><div>                      supportsForcedAuthentication=&quot;true&quot;</div><div>                      supportsPassiveAuthentication=&quot;false&quot;&gt;</div><div>       <span class="" style="white-space:pre">        </span>&lt;ph:AuthenticationMethod&gt;urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport&lt;/ph:AuthenticationMethod&gt;</div><div>    &lt;/ph:LoginHandler&gt;</div></div><div><br></div><div><br></div><div>Any help is much appreciated!</div><div><br></div><div>Best,</div><div><br></div></div>