{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/8","repository_url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication","labels_url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/8/comments","events_url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/8/events","html_url":"https://github.com/IdentityServer/WindowsAuthentication/issues/8","id":132237727,"number":8,"title":"Redirecting back to the application after logout (SignOutWreply)","user":{"login":"c0bra99","id":148933,"avatar_url":"https://avatars.githubusercontent.com/u/148933?v=3","gravatar_id":"","url":"https://api.github.com/users/c0bra99","html_url":"https://github.com/c0bra99","followers_url":"https://api.github.com/users/c0bra99/followers","following_url":"https://api.github.com/users/c0bra99/following{/other_user}","gists_url":"https://api.github.com/users/c0bra99/gists{/gist_id}","starred_url":"https://api.github.com/users/c0bra99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0bra99/subscriptions","organizations_url":"https://api.github.com/users/c0bra99/orgs","repos_url":"https://api.github.com/users/c0bra99/repos","events_url":"https://api.github.com/users/c0bra99/events{/privacy}","received_events_url":"https://api.github.com/users/c0bra99/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-08T19:39:17Z","updated_at":"2016-02-09T16:48:19Z","closed_at":null,"body":"Is there a reason that after signing out while using the Windows Authentication Service that it just stays on the windows auth page with an empty screen? I understand that you can't _really_ logout since it's the current windows login, but I just want it to logout of IdentityServer, and then return to my application. Am I missing a setting in IdentityServer itself to not stay on the windows authentication page?\r\n\r\nI've looked into it some and it seems that setting the SignOutWreply in the WsFederationAuthenticationOptions in IdentityServer is how this should be handled. So I set that, and I see the wreply gets added to the querystring, but it still sits there and doesn't handle the redirect.\r\n\r\nI looked into the source code and it seems the SignOut message is just returning 200 OK and that's it.\r\n```\r\n                var signout = message as SignOutRequestMessage;\r\n                if (signout != null)\r\n                {\r\n                    Logger.Info(\"Sign-in request\");\r\n\r\n                    // no support for signout\r\n                    return Ok();\r\n                }\r\n```\r\n\r\nI added some code to handle the redirect if the wreply is set, am I missing something as to why this wasn't implemented? \r\n\r\n```\r\n                var signout = message as SignOutRequestMessage;\r\n                if (signout != null)\r\n                {\r\n                    Logger.Info(\"Sign-out request\");\r\n\r\n                    if (!string.IsNullOrWhiteSpace(signout.Reply))\r\n                    {\r\n                        // if the wreply is set, redirect\r\n                        return Redirect(signout.Reply);\r\n                    }\r\n                    // otherwise just return 200 ok\r\n                    return Ok();\r\n                }\r\n```"},"comment":{"url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/comments/181952088","html_url":"https://github.com/IdentityServer/WindowsAuthentication/issues/8#issuecomment-181952088","issue_url":"https://api.github.com/repos/IdentityServer/WindowsAuthentication/issues/8","id":181952088,"user":{"login":"c0bra99","id":148933,"avatar_url":"https://avatars.githubusercontent.com/u/148933?v=3","gravatar_id":"","url":"https://api.github.com/users/c0bra99","html_url":"https://github.com/c0bra99","followers_url":"https://api.github.com/users/c0bra99/followers","following_url":"https://api.github.com/users/c0bra99/following{/other_user}","gists_url":"https://api.github.com/users/c0bra99/gists{/gist_id}","starred_url":"https://api.github.com/users/c0bra99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c0bra99/subscriptions","organizations_url":"https://api.github.com/users/c0bra99/orgs","repos_url":"https://api.github.com/users/c0bra99/repos","events_url":"https://api.github.com/users/c0bra99/events{/privacy}","received_events_url":"https://api.github.com/users/c0bra99/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T16:48:19Z","updated_at":"2016-02-09T16:48:19Z","body":"That was my first thought, but I didn't see any options in WsFederationAuthenticationOptions that looks like it would do that. Would that involve a CustomUserService and doing some checks in an override of SignOutAsync(SignOutContext context) ?"}}