{"action":"created","issue":{"url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/79","repository_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api","labels_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/79/comments","events_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/79/events","html_url":"https://github.com/Armax/Pokemon-GO-node-api/issues/79","id":166987469,"number":79,"title":"OAuth2 Tokens","user":{"login":"Bfindlay","id":12226745,"avatar_url":"https://avatars.githubusercontent.com/u/12226745?v=3","gravatar_id":"","url":"https://api.github.com/users/Bfindlay","html_url":"https://github.com/Bfindlay","followers_url":"https://api.github.com/users/Bfindlay/followers","following_url":"https://api.github.com/users/Bfindlay/following{/other_user}","gists_url":"https://api.github.com/users/Bfindlay/gists{/gist_id}","starred_url":"https://api.github.com/users/Bfindlay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bfindlay/subscriptions","organizations_url":"https://api.github.com/users/Bfindlay/orgs","repos_url":"https://api.github.com/users/Bfindlay/repos","events_url":"https://api.github.com/users/Bfindlay/events{/privacy}","received_events_url":"https://api.github.com/users/Bfindlay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T07:38:22Z","updated_at":"2016-07-22T22:46:18Z","closed_at":null,"body":"Can we expect to be able to use an Oauth2 token through passport.js or similar?\r\ninputting actual usernames and passwords is not going to work with 2fa"},"comment":{"url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/comments/234675068","html_url":"https://github.com/Armax/Pokemon-GO-node-api/issues/79#issuecomment-234675068","issue_url":"https://api.github.com/repos/Armax/Pokemon-GO-node-api/issues/79","id":234675068,"user":{"login":"carldanley","id":1470571,"avatar_url":"https://avatars.githubusercontent.com/u/1470571?v=3","gravatar_id":"","url":"https://api.github.com/users/carldanley","html_url":"https://github.com/carldanley","followers_url":"https://api.github.com/users/carldanley/followers","following_url":"https://api.github.com/users/carldanley/following{/other_user}","gists_url":"https://api.github.com/users/carldanley/gists{/gist_id}","starred_url":"https://api.github.com/users/carldanley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carldanley/subscriptions","organizations_url":"https://api.github.com/users/carldanley/orgs","repos_url":"https://api.github.com/users/carldanley/repos","events_url":"https://api.github.com/users/carldanley/events{/privacy}","received_events_url":"https://api.github.com/users/carldanley/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T22:46:18Z","updated_at":"2016-07-22T22:46:18Z","body":"This is definitely possible but whatever client you use to generate a JWT token will need to conform to very specific settings:\r\n\r\n1. https://github.com/carldanley/node-pokemon-go-api/blob/master/src/login.js#L13-L16\r\n1. https://github.com/carldanley/node-pokemon-go-api/blob/master/src/login.js#L28"}}
{"actor":{"display_login":"carldanley"}}