{"action":"created","issue":{"url":"https://api.github.com/repos/sni/Thruk/issues/655","repository_url":"https://api.github.com/repos/sni/Thruk","labels_url":"https://api.github.com/repos/sni/Thruk/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/sni/Thruk/issues/655/comments","events_url":"https://api.github.com/repos/sni/Thruk/issues/655/events","html_url":"https://github.com/sni/Thruk/pull/655","id":191949463,"number":655,"title":" Make it possible to run a user-defined login hook. ","user":{"login":"theseal","id":818851,"avatar_url":"https://avatars.githubusercontent.com/u/818851?v=3","gravatar_id":"","url":"https://api.github.com/users/theseal","html_url":"https://github.com/theseal","followers_url":"https://api.github.com/users/theseal/followers","following_url":"https://api.github.com/users/theseal/following{/other_user}","gists_url":"https://api.github.com/users/theseal/gists{/gist_id}","starred_url":"https://api.github.com/users/theseal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theseal/subscriptions","organizations_url":"https://api.github.com/users/theseal/orgs","repos_url":"https://api.github.com/users/theseal/repos","events_url":"https://api.github.com/users/theseal/events{/privacy}","received_events_url":"https://api.github.com/users/theseal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-28T08:54:04Z","updated_at":"2016-11-28T15:41:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sni/Thruk/pulls/655","html_url":"https://github.com/sni/Thruk/pull/655","diff_url":"https://github.com/sni/Thruk/pull/655.diff","patch_url":"https://github.com/sni/Thruk/pull/655.patch"},"body":"Hook which will be called in the process when an user is about to be authorized.\r\nThe hook enables integration with SSO services (e.g Shibboleth) since it is\r\nexposed to the web servers environment. If the hook exit any thing but 0 the\r\nuser will be denied."},"comment":{"url":"https://api.github.com/repos/sni/Thruk/issues/comments/263304265","html_url":"https://github.com/sni/Thruk/pull/655#issuecomment-263304265","issue_url":"https://api.github.com/repos/sni/Thruk/issues/655","id":263304265,"user":{"login":"theseal","id":818851,"avatar_url":"https://avatars.githubusercontent.com/u/818851?v=3","gravatar_id":"","url":"https://api.github.com/users/theseal","html_url":"https://github.com/theseal","followers_url":"https://api.github.com/users/theseal/followers","following_url":"https://api.github.com/users/theseal/following{/other_user}","gists_url":"https://api.github.com/users/theseal/gists{/gist_id}","starred_url":"https://api.github.com/users/theseal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theseal/subscriptions","organizations_url":"https://api.github.com/users/theseal/orgs","repos_url":"https://api.github.com/users/theseal/repos","events_url":"https://api.github.com/users/theseal/events{/privacy}","received_events_url":"https://api.github.com/users/theseal/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T15:41:09Z","updated_at":"2016-11-28T15:41:09Z","body":"Are you sure that we are using the \"Cookie auth\" when we already receive REMOTE_USER from our SSO service? We can't make the hook (or cookie_auth_login_hook) fire in that context."}}
{"actor":{"display_login":"theseal"}}