{"action":"closed","issue":{"url":"https://api.github.com/repos/testdouble/present/issues/54","labels_url":"https://api.github.com/repos/testdouble/present/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/testdouble/present/issues/54/comments","events_url":"https://api.github.com/repos/testdouble/present/issues/54/events","html_url":"https://github.com/testdouble/present/issues/54","id":57348872,"number":54,"title":"Github OAuth will break us on 2/24/2015","user":{"login":"searls","id":79303,"avatar_url":"https://avatars.githubusercontent.com/u/79303?v=3","gravatar_id":"","url":"https://api.github.com/users/searls","html_url":"https://github.com/searls","followers_url":"https://api.github.com/users/searls/followers","following_url":"https://api.github.com/users/searls/following{/other_user}","gists_url":"https://api.github.com/users/searls/gists{/gist_id}","starred_url":"https://api.github.com/users/searls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/searls/subscriptions","organizations_url":"https://api.github.com/users/searls/orgs","repos_url":"https://api.github.com/users/searls/repos","events_url":"https://api.github.com/users/searls/events{/privacy}","received_events_url":"https://api.github.com/users/searls/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/testdouble/present/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"searls","id":79303,"avatar_url":"https://avatars.githubusercontent.com/u/79303?v=3","gravatar_id":"","url":"https://api.github.com/users/searls","html_url":"https://github.com/searls","followers_url":"https://api.github.com/users/searls/followers","following_url":"https://api.github.com/users/searls/following{/other_user}","gists_url":"https://api.github.com/users/searls/gists{/gist_id}","starred_url":"https://api.github.com/users/searls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/searls/subscriptions","organizations_url":"https://api.github.com/users/searls/orgs","repos_url":"https://api.github.com/users/searls/repos","events_url":"https://api.github.com/users/searls/events{/privacy}","received_events_url":"https://api.github.com/users/searls/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-11T17:32:04Z","updated_at":"2015-02-11T22:24:29Z","closed_at":"2015-02-11T22:24:29Z","body":"We've got a little over a week to fix this one. E-mail from github:\r\n\r\n```\r\nHi there!\r\n\r\nOn February 24, 2015, we'll be introducing some **breaking changes** that will impact some GitHub API endpoints. We're writing to give you a heads-up, since the change will impact your usage of the API.\r\n\r\n### What does this mean for you?\r\n\r\nYou're using the following API endpoints:\r\n\r\n- List your organizations: https://developer.github.com/v3/orgs/#list-your-organizations\r\n\r\nOn February 24, the behavior of these APIs will be changing. You can read more about these changes on our API blog:\r\n\r\nhttps://developer.github.com/changes/2014-12-08-organization-permissions-api-preview/\r\n\r\nWe strongly recommend reading through this blog post, figuring out how these changes will impact your app, and updating the code accordingly.\r\n\r\nIf you have any questions on how to prepare your applications for these changes, please get in touch with us at this link:\r\n\r\nhttps://github.com/contact?form%5Bsubject%5D=Organization+Permissions+API+changes\r\n\r\nThanks!\r\n- The GitHub API team\r\n\r\n```\r\n\r\nThe long-and-short of it is that we need to add an additional scope \"read:org\" to our oauth tokens in order to ascertain what orgs a user resides in. We'll also need to either trigger a logout by invalidating all sessions or we need to identify if a required scope is missing from a token and automatically re-starting the oauth flow.\r\n\r\nCurrent failure message:\r\n\r\n```\r\n=> [\"message\", \"You need at least read:org scope or user scope to list your organizations.\"]\r\n```"}}