{"action":"created","issue":{"url":"https://api.github.com/repos/lindegroup/autopkgr/issues/393","labels_url":"https://api.github.com/repos/lindegroup/autopkgr/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/lindegroup/autopkgr/issues/393/comments","events_url":"https://api.github.com/repos/lindegroup/autopkgr/issues/393/events","html_url":"https://github.com/lindegroup/autopkgr/issues/393","id":97183437,"number":393,"title":"Github API Token Generator fails with 2 factor authentication","user":{"login":"MScottBlake","id":945258,"avatar_url":"https://avatars.githubusercontent.com/u/945258?v=3","gravatar_id":"","url":"https://api.github.com/users/MScottBlake","html_url":"https://github.com/MScottBlake","followers_url":"https://api.github.com/users/MScottBlake/followers","following_url":"https://api.github.com/users/MScottBlake/following{/other_user}","gists_url":"https://api.github.com/users/MScottBlake/gists{/gist_id}","starred_url":"https://api.github.com/users/MScottBlake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MScottBlake/subscriptions","organizations_url":"https://api.github.com/users/MScottBlake/orgs","repos_url":"https://api.github.com/users/MScottBlake/repos","events_url":"https://api.github.com/users/MScottBlake/events{/privacy}","received_events_url":"https://api.github.com/users/MScottBlake/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-25T02:34:21Z","updated_at":"2015-07-25T03:00:10Z","closed_at":null,"body":"If you have 2 factor authentication enabled on GitHub, AutoPkgr is not able to authenticate in order to generate an API Token through the following form.\r\n<img width=\"504\" alt=\"screenshot 2015-07-24 22 31 31\" src=\"https://cloud.githubusercontent.com/assets/945258/8887524/c66b19e8-3253-11e5-951d-0b3c622af538.png\">\r\n\r\nThis is the error that is displayed even with correct credentials.\r\n<img width=\"532\" alt=\"screenshot 2015-07-24 22 30 11\" src=\"https://cloud.githubusercontent.com/assets/945258/8887522/a558973a-3253-11e5-8104-f60b31490f4f.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/lindegroup/autopkgr/issues/comments/124791893","html_url":"https://github.com/lindegroup/autopkgr/issues/393#issuecomment-124791893","issue_url":"https://api.github.com/repos/lindegroup/autopkgr/issues/393","id":124791893,"user":{"login":"eahrold","id":3740088,"avatar_url":"https://avatars.githubusercontent.com/u/3740088?v=3","gravatar_id":"","url":"https://api.github.com/users/eahrold","html_url":"https://github.com/eahrold","followers_url":"https://api.github.com/users/eahrold/followers","following_url":"https://api.github.com/users/eahrold/following{/other_user}","gists_url":"https://api.github.com/users/eahrold/gists{/gist_id}","starred_url":"https://api.github.com/users/eahrold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eahrold/subscriptions","organizations_url":"https://api.github.com/users/eahrold/orgs","repos_url":"https://api.github.com/users/eahrold/repos","events_url":"https://api.github.com/users/eahrold/events{/privacy}","received_events_url":"https://api.github.com/users/eahrold/received_events","type":"User","site_admin":false},"created_at":"2015-07-25T03:00:10Z","updated_at":"2015-07-25T03:00:10Z","body":"Great point. \r\n\r\nWe just replicated the function built into autopkg for that i.e. `autopkg search -t [query]`\r\nAre you seeing a similar thing when you run that?\r\n\r\nEither way we should be able to built it out to support 2 factor auth."}}