{"action":"created","issue":{"url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/209","repository_url":"https://api.github.com/repos/OpenCollective/OpenCollective","labels_url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/209/comments","events_url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/209/events","html_url":"https://github.com/OpenCollective/OpenCollective/issues/209","id":170948158,"number":209,"title":"Github oauth is broken","user":{"login":"asood123","id":6106941,"avatar_url":"https://avatars.githubusercontent.com/u/6106941?v=3","gravatar_id":"","url":"https://api.github.com/users/asood123","html_url":"https://github.com/asood123","followers_url":"https://api.github.com/users/asood123/followers","following_url":"https://api.github.com/users/asood123/following{/other_user}","gists_url":"https://api.github.com/users/asood123/gists{/gist_id}","starred_url":"https://api.github.com/users/asood123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asood123/subscriptions","organizations_url":"https://api.github.com/users/asood123/orgs","repos_url":"https://api.github.com/users/asood123/repos","events_url":"https://api.github.com/users/asood123/events{/privacy}","received_events_url":"https://api.github.com/users/asood123/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenCollective/OpenCollective/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/OpenCollective/OpenCollective/labels/high%20priority","name":"high priority","color":"b60205"}],"state":"open","locked":false,"assignee":{"login":"xdamman","id":74358,"avatar_url":"https://avatars.githubusercontent.com/u/74358?v=3","gravatar_id":"","url":"https://api.github.com/users/xdamman","html_url":"https://github.com/xdamman","followers_url":"https://api.github.com/users/xdamman/followers","following_url":"https://api.github.com/users/xdamman/following{/other_user}","gists_url":"https://api.github.com/users/xdamman/gists{/gist_id}","starred_url":"https://api.github.com/users/xdamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdamman/subscriptions","organizations_url":"https://api.github.com/users/xdamman/orgs","repos_url":"https://api.github.com/users/xdamman/repos","events_url":"https://api.github.com/users/xdamman/events{/privacy}","received_events_url":"https://api.github.com/users/xdamman/received_events","type":"User","site_admin":false},"assignees":[{"login":"xdamman","id":74358,"avatar_url":"https://avatars.githubusercontent.com/u/74358?v=3","gravatar_id":"","url":"https://api.github.com/users/xdamman","html_url":"https://github.com/xdamman","followers_url":"https://api.github.com/users/xdamman/followers","following_url":"https://api.github.com/users/xdamman/following{/other_user}","gists_url":"https://api.github.com/users/xdamman/gists{/gist_id}","starred_url":"https://api.github.com/users/xdamman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xdamman/subscriptions","organizations_url":"https://api.github.com/users/xdamman/orgs","repos_url":"https://api.github.com/users/xdamman/repos","events_url":"https://api.github.com/users/xdamman/events{/privacy}","received_events_url":"https://api.github.com/users/xdamman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-12T20:00:27Z","updated_at":"2016-08-13T07:16:14Z","closed_at":null,"body":"It errors out with redirect-uri-mismatch. \r\n\r\nOn github, we have registered `https://api.opencollective.com/connected-accounts/github/callback`. \r\n\r\nIn our requests, we are sending `https://prod-opencollective-api.herokuapp.com/connected-accounts/github/callback`.\r\n\r\nThe `herokuapp` url is coming from `API_URL` in heroku settings. Changing that to `api.opencollective.com` triggers a cloudflare alert breaking the flow altogether:\r\n\r\n`You've requested a page on a website (api.opencollective.com) that is on the CloudFlare network. Unfortunately, it is resolving to an IP address that is creating a conflict within CloudFlare's system.`"},"comment":{"url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/comments/239607208","html_url":"https://github.com/OpenCollective/OpenCollective/issues/209#issuecomment-239607208","issue_url":"https://api.github.com/repos/OpenCollective/OpenCollective/issues/209","id":239607208,"user":{"login":"sedubois","id":4217871,"avatar_url":"https://avatars.githubusercontent.com/u/4217871?v=3","gravatar_id":"","url":"https://api.github.com/users/sedubois","html_url":"https://github.com/sedubois","followers_url":"https://api.github.com/users/sedubois/followers","following_url":"https://api.github.com/users/sedubois/following{/other_user}","gists_url":"https://api.github.com/users/sedubois/gists{/gist_id}","starred_url":"https://api.github.com/users/sedubois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sedubois/subscriptions","organizations_url":"https://api.github.com/users/sedubois/orgs","repos_url":"https://api.github.com/users/sedubois/repos","events_url":"https://api.github.com/users/sedubois/events{/privacy}","received_events_url":"https://api.github.com/users/sedubois/received_events","type":"User","site_admin":false},"created_at":"2016-08-13T07:16:14Z","updated_at":"2016-08-13T07:16:14Z","body":"This might be it: https://github.com/OpenCollective/opencollective-api/pull/533"}}
{"actor":{"display_login":"sedubois"}}