{"action":"created","issue":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/464","repository_url":"https://api.github.com/repos/bitly/oauth2_proxy","labels_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/464/comments","events_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/464/events","html_url":"https://github.com/bitly/oauth2_proxy/pull/464","id":262034814,"number":464,"title":"Add support for a list of Whitelisted domains","user":{"login":"JoelSpeed","id":9232216,"avatar_url":"https://avatars3.githubusercontent.com/u/9232216?v=4","gravatar_id":"","url":"https://api.github.com/users/JoelSpeed","html_url":"https://github.com/JoelSpeed","followers_url":"https://api.github.com/users/JoelSpeed/followers","following_url":"https://api.github.com/users/JoelSpeed/following{/other_user}","gists_url":"https://api.github.com/users/JoelSpeed/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelSpeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelSpeed/subscriptions","organizations_url":"https://api.github.com/users/JoelSpeed/orgs","repos_url":"https://api.github.com/users/JoelSpeed/repos","events_url":"https://api.github.com/users/JoelSpeed/events{/privacy}","received_events_url":"https://api.github.com/users/JoelSpeed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2017-10-02T09:56:28Z","updated_at":"2018-05-23T16:07:24Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/pulls/464","html_url":"https://github.com/bitly/oauth2_proxy/pull/464","diff_url":"https://github.com/bitly/oauth2_proxy/pull/464.diff","patch_url":"https://github.com/bitly/oauth2_proxy/pull/464.patch"},"body":"I wrote this on Friday to fix #399 \r\n\r\nTidied it up this morning and went to create PR noticing #461 had been created.\r\n\r\nI think this better fixes #399 as it looks for domain suffixes rather than explicit domains which I think was the point of the discussion.\r\n\r\nTake from this what you will"},"comment":{"url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/comments/391404188","html_url":"https://github.com/bitly/oauth2_proxy/pull/464#issuecomment-391404188","issue_url":"https://api.github.com/repos/bitly/oauth2_proxy/issues/464","id":391404188,"user":{"login":"Miouge1","id":13647208,"avatar_url":"https://avatars0.githubusercontent.com/u/13647208?v=4","gravatar_id":"","url":"https://api.github.com/users/Miouge1","html_url":"https://github.com/Miouge1","followers_url":"https://api.github.com/users/Miouge1/followers","following_url":"https://api.github.com/users/Miouge1/following{/other_user}","gists_url":"https://api.github.com/users/Miouge1/gists{/gist_id}","starred_url":"https://api.github.com/users/Miouge1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Miouge1/subscriptions","organizations_url":"https://api.github.com/users/Miouge1/orgs","repos_url":"https://api.github.com/users/Miouge1/repos","events_url":"https://api.github.com/users/Miouge1/events{/privacy}","received_events_url":"https://api.github.com/users/Miouge1/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T16:07:24Z","updated_at":"2018-05-23T16:07:24Z","author_association":"CONTRIBUTOR","body":"Some documentation in the `README.md` would be welcome. I am thinking about the \"if whitelist-domain starts with . then subdomain are also allowed\" type thing."}}
{"actor":{"display_login":"Miouge1"}}