This project has moved and is read-only. For the latest updates, please go here.

WSFederation Authentication Middleware - Set Signout URL to be IDPInitiatedSignon.aspx

Sep 8, 2016 at 7:12 PM
Edited Sep 8, 2016 at 7:13 PM
Currently OWIN WS Federation Middleware redirect user to <ADFS Server Name>/adfs/ls?WASignout like this URL but if we need user to redirect to Idpinitiatedsignon.aspx during signout how we can make that this possible.

Any suggestion will be helpful or if we can extend the WS Federation Middleware.

Regards,
Bharat Gupta
Sep 15, 2016 at 8:27 PM
In http://katanaproject.codeplex.com/SourceControl/latest#src/Microsoft.Owin.Security.WsFederation/WsFederationAuthenticationHandler.cs
See ApplyResponseGrantAsync where it calls RedirectToIdentityProvider. If implement that notification you can customize the redirect.