AspNetSaml icon indicating copy to clipboard operation
AspNetSaml copied to clipboard

Logout request with specific redirect url

Open wan-liyang opened this issue 6 years ago • 4 comments

Hi, may i have your help about how to build a saml logout request to sign out the account, after sign out success, redirect to specific page of the application?

wan-liyang avatar Oct 16 '19 10:10 wan-liyang

Do you mean service provider initiated logout or indentity provider initiated logout?

(service provider is your app, ID provider is the SAML provider)

alex-jitbit avatar Oct 16 '19 11:10 alex-jitbit

hi alex, when perform logout action from my app, it will do session & cookie clean, if do not close browser, then perform login action again, browser will remeber previous azure AD account, so i think there should be one action to sign out the azure AD, but the problem is after sign out the azure AD via call speicific URL, how it redirect back to the specific page of my app? because want to show some customized information.

wan-liyang avatar Oct 21 '19 05:10 wan-liyang

I would also like to implement a service provided logout. From my research this will require a digitally signed message.

AnthonyVO avatar Oct 28 '19 13:10 AnthonyVO

I've submitted a pull request#48 to support signing out request to IDP and get the response returned.

Please check whether it can be merged into the main branch.

fatbigbright avatar Oct 19 '20 02:10 fatbigbright