Closed MoppDepp closed 7 years ago
@MoppDepp I'll look into adding this
I see you opened a Zendesk issue as well
Let's close this and rather carry on on Zendesk
Support added in 2.1.0 (https://www.nuget.org/packages/Auth0-ASPNET-Owin)
Add .federated
dictionary key with value of true
to AuthenticationProperties
when logging out:
public void Logout()
{
HttpContext.GetOwinContext().Authentication.SignOut(CookieAuthenticationDefaults.AuthenticationType);
HttpContext.GetOwinContext()
.Authentication.SignOut(new AuthenticationProperties(
new Dictionary<string, string>
{
{".federated", "true"}
})
{
RedirectUri = Url.Action("Index", "Home"),
}, "Auth0");
}
How one should implement federated logout in v2.0? https://github.com/auth0/auth0-aspnet-owin/blob/master/src/Auth0.Owin/Auth0AuthenticationHandler.cs#L224