{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/awsaml/issues/50","repository_url":"https://api.github.com/repos/rapid7/awsaml","labels_url":"https://api.github.com/repos/rapid7/awsaml/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/awsaml/issues/50/comments","events_url":"https://api.github.com/repos/rapid7/awsaml/issues/50/events","html_url":"https://github.com/rapid7/awsaml/pull/50","id":147171306,"number":50,"title":"Add logout button to refresh page","user":{"login":"athompson-r7","id":10726978,"avatar_url":"https://avatars.githubusercontent.com/u/10726978?v=3","gravatar_id":"","url":"https://api.github.com/users/athompson-r7","html_url":"https://github.com/athompson-r7","followers_url":"https://api.github.com/users/athompson-r7/followers","following_url":"https://api.github.com/users/athompson-r7/following{/other_user}","gists_url":"https://api.github.com/users/athompson-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/athompson-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athompson-r7/subscriptions","organizations_url":"https://api.github.com/users/athompson-r7/orgs","repos_url":"https://api.github.com/users/athompson-r7/repos","events_url":"https://api.github.com/users/athompson-r7/events{/privacy}","received_events_url":"https://api.github.com/users/athompson-r7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-09T23:05:03Z","updated_at":"2016-04-11T14:20:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rapid7/awsaml/pulls/50","html_url":"https://github.com/rapid7/awsaml/pull/50","diff_url":"https://github.com/rapid7/awsaml/pull/50.diff","patch_url":"https://github.com/rapid7/awsaml/pull/50.patch"},"body":"This change adds a logout button the `refresh` page and a logout endpoint that does the following:\r\n* Clears the refresh interval\r\n* Clears the session data\r\n* Redirects to the `configureUrl`\r\n\r\nI'm not sure how to go about writing tests for this... \r\n\r\nFixes #48 "},"comment":{"url":"https://api.github.com/repos/rapid7/awsaml/issues/comments/208370086","html_url":"https://github.com/rapid7/awsaml/pull/50#issuecomment-208370086","issue_url":"https://api.github.com/repos/rapid7/awsaml/issues/50","id":208370086,"user":{"login":"fmitchell-r7","id":14876658,"avatar_url":"https://avatars.githubusercontent.com/u/14876658?v=3","gravatar_id":"","url":"https://api.github.com/users/fmitchell-r7","html_url":"https://github.com/fmitchell-r7","followers_url":"https://api.github.com/users/fmitchell-r7/followers","following_url":"https://api.github.com/users/fmitchell-r7/following{/other_user}","gists_url":"https://api.github.com/users/fmitchell-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/fmitchell-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fmitchell-r7/subscriptions","organizations_url":"https://api.github.com/users/fmitchell-r7/orgs","repos_url":"https://api.github.com/users/fmitchell-r7/repos","events_url":"https://api.github.com/users/fmitchell-r7/events{/privacy}","received_events_url":"https://api.github.com/users/fmitchell-r7/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T14:20:10Z","updated_at":"2016-04-11T14:20:10Z","body":"Thank you so much for adding this!\r\n\r\nRegarding tests, automated ones may have to wait until the [RESTful Refactor](https://github.com/rapid7/awsaml/milestones/restful-refactor) project is done and we have a non-GUI workflow."}}