{"action":"created","issue":{"url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/12","repository_url":"https://api.github.com/repos/serilog-web/classic-webapi","labels_url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/12/comments","events_url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/12/events","html_url":"https://github.com/serilog-web/classic-webapi/issues/12","id":306136284,"number":12,"title":"Unauthorized requests do not add data to HttpContext.Items","user":{"login":"gareth-james","id":37441576,"avatar_url":"https://avatars0.githubusercontent.com/u/37441576?v=4","gravatar_id":"","url":"https://api.github.com/users/gareth-james","html_url":"https://github.com/gareth-james","followers_url":"https://api.github.com/users/gareth-james/followers","following_url":"https://api.github.com/users/gareth-james/following{/other_user}","gists_url":"https://api.github.com/users/gareth-james/gists{/gist_id}","starred_url":"https://api.github.com/users/gareth-james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gareth-james/subscriptions","organizations_url":"https://api.github.com/users/gareth-james/orgs","repos_url":"https://api.github.com/users/gareth-james/repos","events_url":"https://api.github.com/users/gareth-james/events{/privacy}","received_events_url":"https://api.github.com/users/gareth-james/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-17T07:35:40Z","updated_at":"2018-03-17T08:13:08Z","closed_at":null,"author_association":"NONE","body":"If an Authorize filter attribute determines the request is unauthorized, it does not add the data for the enrichers to HttpContext.Items.\r\n\r\nPerhaps we could have StoreWebApInfoInHttpContextAuthorizationFilter which does the same as the action filter and move the code which processes the HttpActionContext into a separate class for sharing?\r\n\r\nHappy to submit a pull request if this is acceptable.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/comments/373902962","html_url":"https://github.com/serilog-web/classic-webapi/issues/12#issuecomment-373902962","issue_url":"https://api.github.com/repos/serilog-web/classic-webapi/issues/12","id":373902962,"user":{"login":"tsimbalar","id":160544,"avatar_url":"https://avatars2.githubusercontent.com/u/160544?v=4","gravatar_id":"","url":"https://api.github.com/users/tsimbalar","html_url":"https://github.com/tsimbalar","followers_url":"https://api.github.com/users/tsimbalar/followers","following_url":"https://api.github.com/users/tsimbalar/following{/other_user}","gists_url":"https://api.github.com/users/tsimbalar/gists{/gist_id}","starred_url":"https://api.github.com/users/tsimbalar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsimbalar/subscriptions","organizations_url":"https://api.github.com/users/tsimbalar/orgs","repos_url":"https://api.github.com/users/tsimbalar/repos","events_url":"https://api.github.com/users/tsimbalar/events{/privacy}","received_events_url":"https://api.github.com/users/tsimbalar/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T08:13:08Z","updated_at":"2018-03-17T08:13:08Z","author_association":"MEMBER","body":"Actually, we can probably just have one AuthorizationFilter and get rid of the ActionFilter , but I may be wrong :p "}}
{"actor":{"display_login":"tsimbalar"}}