This project has moved. For the latest updates, please go here.

WS-Federation - right way to sign out

Jun 6, 2014 at 5:19 PM
I was reading this article [https://gist.github.com/leastprivilege/bc8138cc9aed35c8f768] about Owin's WS-Federation authentication process. It shows how to sign out. I tried that code, and it does the federated sign out, and then redirects back to "/" which causes auto sign in without user prompt. What is a right way to do a sign out, so it doesn't sign in back automatically?
Jun 6, 2014 at 5:22 PM
the interesting part is that it actually works in Chrome and prompts to sign in, but in IE... just signs the user back in automatically.
Coordinator
Jun 6, 2014 at 5:30 PM
You need to make sure Options.SignOutWreply (or Wreply) points to a page that allows anonymous users, otherwise the login flow will restart.