Fixes: U4-7536 Sign-out in back office will call all ASP.Net identity middleware sign out methods

publicises a few things too.
This commit is contained in:
Shannon
2015-12-15 10:34:11 +01:00
parent 220446afec
commit 8598ab565c
6 changed files with 17 additions and 12 deletions

View File

@@ -19,7 +19,9 @@ namespace Umbraco.Web.WebApi.Filters
//this calls the underlying owin sign out logic - which should call the
// auth providers middleware callbacks if using custom auth middleware
context.Request.TryGetOwinContext().Result.Authentication.SignOut();
context.Request.TryGetOwinContext().Result.Authentication.SignOut(
Core.Constants.Security.BackOfficeAuthenticationType,
Core.Constants.Security.BackOfficeExternalAuthenticationType);
}
}
}