-
-
Notifications
You must be signed in to change notification settings - Fork 291
Logging out of Federated authentication through STS #396
Comments
Logged out of what? The RP? IdentityServer? Or Facebook? When using external identity providers, you're never really logged into IdentityServer -- it's just passing thru the identity. |
The RP. On 3 Sep 2013, at 17:59, Brock Allen notifications@github.com wrote:
|
FederatedAuthentication.SessionAuthenticaionModule.SignOut() should remove the cookie and it's all you need. I'd use this API then check the browser for the response to confirm that the cookie was cleared. |
As I said above I tried that, it results in a null reference exception. I'll get the entire exception message... |
[NullReferenceException: Object reference not set to an instance of an object.] |
I've also tried the following,
|
I have a working solution,
Not sure if I need the session calls but they're in there anyway... |
Hi there,
I've logged into the STS with federated authentication using Live or Facebook, but I can't seem to log out. Even when clearing all cookies "FedAuth and "FedAuth1" which I can remove using firebug to log the user out but not in code for some reason.
I have tried the following
The text was updated successfully, but these errors were encountered: