{"action":"closed","issue":{"url":"https://api.github.com/repos/project-badass/be-my-guest/issues/2","repository_url":"https://api.github.com/repos/project-badass/be-my-guest","labels_url":"https://api.github.com/repos/project-badass/be-my-guest/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/project-badass/be-my-guest/issues/2/comments","events_url":"https://api.github.com/repos/project-badass/be-my-guest/issues/2/events","html_url":"https://github.com/project-badass/be-my-guest/issues/2","id":188675830,"number":2,"title":"oauth via facebook, instagram, google","user":{"login":"jmonster","id":368767,"avatar_url":"https://avatars.githubusercontent.com/u/368767?v=3","gravatar_id":"","url":"https://api.github.com/users/jmonster","html_url":"https://github.com/jmonster","followers_url":"https://api.github.com/users/jmonster/followers","following_url":"https://api.github.com/users/jmonster/following{/other_user}","gists_url":"https://api.github.com/users/jmonster/gists{/gist_id}","starred_url":"https://api.github.com/users/jmonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmonster/subscriptions","organizations_url":"https://api.github.com/users/jmonster/orgs","repos_url":"https://api.github.com/users/jmonster/repos","events_url":"https://api.github.com/users/jmonster/events{/privacy}","received_events_url":"https://api.github.com/users/jmonster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"jmonster","id":368767,"avatar_url":"https://avatars.githubusercontent.com/u/368767?v=3","gravatar_id":"","url":"https://api.github.com/users/jmonster","html_url":"https://github.com/jmonster","followers_url":"https://api.github.com/users/jmonster/followers","following_url":"https://api.github.com/users/jmonster/following{/other_user}","gists_url":"https://api.github.com/users/jmonster/gists{/gist_id}","starred_url":"https://api.github.com/users/jmonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmonster/subscriptions","organizations_url":"https://api.github.com/users/jmonster/orgs","repos_url":"https://api.github.com/users/jmonster/repos","events_url":"https://api.github.com/users/jmonster/events{/privacy}","received_events_url":"https://api.github.com/users/jmonster/received_events","type":"User","site_admin":false},"assignees":[{"login":"jmonster","id":368767,"avatar_url":"https://avatars.githubusercontent.com/u/368767?v=3","gravatar_id":"","url":"https://api.github.com/users/jmonster","html_url":"https://github.com/jmonster","followers_url":"https://api.github.com/users/jmonster/followers","following_url":"https://api.github.com/users/jmonster/following{/other_user}","gists_url":"https://api.github.com/users/jmonster/gists{/gist_id}","starred_url":"https://api.github.com/users/jmonster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmonster/subscriptions","organizations_url":"https://api.github.com/users/jmonster/orgs","repos_url":"https://api.github.com/users/jmonster/repos","events_url":"https://api.github.com/users/jmonster/events{/privacy}","received_events_url":"https://api.github.com/users/jmonster/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2016-11-11T03:17:10Z","updated_at":"2016-11-11T05:16:36Z","closed_at":"2016-11-11T05:16:36Z","body":"## process\r\n### in scope\r\n+ Client presents OAuth dialog with chosen provider\r\n+ Login mechanism yields a `Bearer` token for the provider _to the client_\r\n+ That token needs to be sent to _this server_ along with which provider it is a token for\r\n+ _this server_ finds or creates an account\r\n\r\n### next PR\r\n+ _this server_ replies with a `Bearer` token for authenticating requests with _this server_\r\n\r\n## support\r\n+ [x] facebook\r\n+ [x] instagram\r\n+ [x] google\r\n\r\n## example\r\n\r\n```\r\n>> POST https://be.my.guest/login { token: 'asdf-1234', provider: 'google' }\r\n<< { authorization: { token: 'qwer-4567', refresh_token: 'zxcv-4815', expires_at: ... }}\r\n```"}}
{"actor":{"display_login":"jmonster"}}