{"action":"created","issue":{"url":"https://api.github.com/repos/fruux/sabre-dav/issues/592","labels_url":"https://api.github.com/repos/fruux/sabre-dav/issues/592/labels{/name}","comments_url":"https://api.github.com/repos/fruux/sabre-dav/issues/592/comments","events_url":"https://api.github.com/repos/fruux/sabre-dav/issues/592/events","html_url":"https://github.com/fruux/sabre-dav/pull/592","id":53621246,"number":592,"title":"Add support of whitelists of authorized paths","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fruux/sabre-dav/labels/enhancement","name":"enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-07T11:05:43Z","updated_at":"2015-07-02T21:20:32Z","closed_at":"2015-07-02T21:20:32Z","pull_request":{"url":"https://api.github.com/repos/fruux/sabre-dav/pulls/592","html_url":"https://github.com/fruux/sabre-dav/pull/592","diff_url":"https://github.com/fruux/sabre-dav/pull/592.diff","patch_url":"https://github.com/fruux/sabre-dav/pull/592.patch"},"body":"The goal is to introduce a whitelist of authorized paths per auth backend. Why? Because we don't systematically want to check if the user is authenticated on all paths. For instance, a path like `/signin` or `/signup` are not good candidate for authentifications since this is the user entry point to authenticate ;-). Same issue happens with OAuth, `/access_token` and `/authorize`.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/fruux/sabre-dav/issues/comments/118171631","html_url":"https://github.com/fruux/sabre-dav/pull/592#issuecomment-118171631","issue_url":"https://api.github.com/repos/fruux/sabre-dav/issues/592","id":118171631,"user":{"login":"evert","id":178960,"avatar_url":"https://avatars.githubusercontent.com/u/178960?v=3","gravatar_id":"","url":"https://api.github.com/users/evert","html_url":"https://github.com/evert","followers_url":"https://api.github.com/users/evert/followers","following_url":"https://api.github.com/users/evert/following{/other_user}","gists_url":"https://api.github.com/users/evert/gists{/gist_id}","starred_url":"https://api.github.com/users/evert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evert/subscriptions","organizations_url":"https://api.github.com/users/evert/orgs","repos_url":"https://api.github.com/users/evert/repos","events_url":"https://api.github.com/users/evert/events{/privacy}","received_events_url":"https://api.github.com/users/evert/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T21:20:32Z","updated_at":"2015-07-02T21:20:32Z","body":"Closing in favor of #657 "}}