Sustainsys / Saml2

Saml2 Authentication services for ASP.NET
Other
952 stars 600 forks source link

Handling IdP initiated SLO request #1242

Closed iancordova closed 3 years ago

iancordova commented 3 years ago

Hello,

I have a scenario in which I am stuck. I have the whole solution working except for the scenario when the users logs out of their IdP. This sends a request to my (default) SLO endpoint which is Saml2/Logout. This is also in the metadata of my SP service.

What I am seeing is that when the IdP sends the SLO request to the Saml2/Logout endpoint of my SP service, it shows that it is posting back to their IdP which I don't want. I want to be able to receive the IdP initiated SLO request from their IdP and log out the user that is logged in my SP application but because of this redirect, it never hits my code.

The challenge is that we are using version 2.1.0.0 and this is the last issue before turning over for user testing. I am using the Sustainsys.Saml2.HttpModule.dll

Can some assist and point me in the right direction?