在新的owin样式中设置WS-Federation后,wsignoutcleanup1.0请求似乎无法正常工作。
设定:
app.UseCookieAuthentication(new CookieAuthenticationOptions
{
AuthenticationType = "Cookies"
});
app.UseWsFederationAuthentication(new WsFederationAuthenticationOptions
{
MetadataAddress = "https://mysts.com/metadata",
Wtrealm = "urn:myclient.com",
SignInAsAuthenticationType = "Cookies"
});
现在在被点唱之后 - 我尝试直接从浏览器执行ws注销请求:
https://myclient.com/?wa=wsignoutcleanup1.0
wsignoutcleanup1.0的MSDN规范:https://msdn.microsoft.com/en-us/library/cc236501.aspx