{"action":"created","issue":{"url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/16","repository_url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth","labels_url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/16/comments","events_url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/16/events","html_url":"https://github.com/pwielgolaski/teamcity-oauth/pull/16","id":287980243,"number":16,"title":"Only allow users from a specified domain","user":{"login":"nigelzor","id":374898,"avatar_url":"https://avatars1.githubusercontent.com/u/374898?v=4","gravatar_id":"","url":"https://api.github.com/users/nigelzor","html_url":"https://github.com/nigelzor","followers_url":"https://api.github.com/users/nigelzor/followers","following_url":"https://api.github.com/users/nigelzor/following{/other_user}","gists_url":"https://api.github.com/users/nigelzor/gists{/gist_id}","starred_url":"https://api.github.com/users/nigelzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigelzor/subscriptions","organizations_url":"https://api.github.com/users/nigelzor/orgs","repos_url":"https://api.github.com/users/nigelzor/repos","events_url":"https://api.github.com/users/nigelzor/events{/privacy}","received_events_url":"https://api.github.com/users/nigelzor/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-12T01:26:02Z","updated_at":"2018-02-08T20:16:42Z","closed_at":"2018-02-08T20:16:28Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/pulls/16","html_url":"https://github.com/pwielgolaski/teamcity-oauth/pull/16","diff_url":"https://github.com/pwielgolaski/teamcity-oauth/pull/16.diff","patch_url":"https://github.com/pwielgolaski/teamcity-oauth/pull/16.patch"},"body":"I'm using this plugin with Google as the OAuth provider, but only want to allow users from my organization into TeamCity.\r\n\r\nThis basically matches the `--email-domain` option from https://github.com/bitly/oauth2_proxy."},"comment":{"url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/comments/364235217","html_url":"https://github.com/pwielgolaski/teamcity-oauth/pull/16#issuecomment-364235217","issue_url":"https://api.github.com/repos/pwielgolaski/teamcity-oauth/issues/16","id":364235217,"user":{"login":"pwielgolaski","id":3696319,"avatar_url":"https://avatars0.githubusercontent.com/u/3696319?v=4","gravatar_id":"","url":"https://api.github.com/users/pwielgolaski","html_url":"https://github.com/pwielgolaski","followers_url":"https://api.github.com/users/pwielgolaski/followers","following_url":"https://api.github.com/users/pwielgolaski/following{/other_user}","gists_url":"https://api.github.com/users/pwielgolaski/gists{/gist_id}","starred_url":"https://api.github.com/users/pwielgolaski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwielgolaski/subscriptions","organizations_url":"https://api.github.com/users/pwielgolaski/orgs","repos_url":"https://api.github.com/users/pwielgolaski/repos","events_url":"https://api.github.com/users/pwielgolaski/events{/privacy}","received_events_url":"https://api.github.com/users/pwielgolaski/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T20:16:42Z","updated_at":"2018-02-08T20:16:42Z","author_association":"OWNER","body":"thank you "}}
{"actor":{"display_login":"pwielgolaski"}}