{"action":"opened","issue":{"url":"https://api.github.com/repos/18F/midas/issues/727","labels_url":"https://api.github.com/repos/18F/midas/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/18F/midas/issues/727/comments","events_url":"https://api.github.com/repos/18F/midas/issues/727/events","html_url":"https://github.com/18F/midas/issues/727","id":69904508,"number":727,"title":"Logout should redirect you away from page that requires auth","user":{"login":"sefk","id":621565,"avatar_url":"https://avatars.githubusercontent.com/u/621565?v=3","gravatar_id":"","url":"https://api.github.com/users/sefk","html_url":"https://github.com/sefk","followers_url":"https://api.github.com/users/sefk/followers","following_url":"https://api.github.com/users/sefk/following{/other_user}","gists_url":"https://api.github.com/users/sefk/gists{/gist_id}","starred_url":"https://api.github.com/users/sefk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sefk/subscriptions","organizations_url":"https://api.github.com/users/sefk/orgs","repos_url":"https://api.github.com/users/sefk/repos","events_url":"https://api.github.com/users/sefk/events{/privacy}","received_events_url":"https://api.github.com/users/sefk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-21T17:21:04Z","updated_at":"2015-04-21T17:21:04Z","closed_at":null,"body":"Repro steps:\r\n\r\n1. Log in as an admin user \r\n2. Select user name, \"admin\" in dropdown\r\n3. Select user name, \"logout\" in dropdown\r\n\r\nSymptom: ugly page with just \"forbidden\", screenshot below.\r\n\r\nShould be: redirect to home page would be fine.\r\n\r\nThere are other places in the app where logging out doesn't give a great experience, for example when looking at the profile page. In that case you get an error (\"not authorized\") but at least are immediately prompted to log in with the login modal, so not as bad.\r\n\r\n![screen shot 2015-04-21 at 10 17 55 am](https://cloud.githubusercontent.com/assets/621565/7258194/c8ce3352-e80f-11e4-9c5e-37ab25fdf14c.png)\r\n\r\n\r\n"}}