{"action":"created","issue":{"url":"https://api.github.com/repos/k9mail/k-9/issues/655","repository_url":"https://api.github.com/repos/k9mail/k-9","labels_url":"https://api.github.com/repos/k9mail/k-9/issues/655/labels{/name}","comments_url":"https://api.github.com/repos/k9mail/k-9/issues/655/comments","events_url":"https://api.github.com/repos/k9mail/k-9/issues/655/events","html_url":"https://github.com/k9mail/k-9/issues/655","id":79575661,"number":655,"title":"Add support for Gmail's XOAUTH2","user":{"login":"gsborisgithub","id":11577213,"avatar_url":"https://avatars.githubusercontent.com/u/11577213?v=3","gravatar_id":"","url":"https://api.github.com/users/gsborisgithub","html_url":"https://github.com/gsborisgithub","followers_url":"https://api.github.com/users/gsborisgithub/followers","following_url":"https://api.github.com/users/gsborisgithub/following{/other_user}","gists_url":"https://api.github.com/users/gsborisgithub/gists{/gist_id}","starred_url":"https://api.github.com/users/gsborisgithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsborisgithub/subscriptions","organizations_url":"https://api.github.com/users/gsborisgithub/orgs","repos_url":"https://api.github.com/users/gsborisgithub/repos","events_url":"https://api.github.com/users/gsborisgithub/events{/privacy}","received_events_url":"https://api.github.com/users/gsborisgithub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/k9mail/k-9/labels/enhancement","name":"enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-22T19:18:23Z","updated_at":"2016-04-19T02:08:43Z","closed_at":null,"body":"I really do not want to allow \"less secure apps\" in my gmail account.\r\nWould K9Mail be compatible with this gmail security some time in a future?\r\n"},"comment":{"url":"https://api.github.com/repos/k9mail/k-9/issues/comments/211689073","html_url":"https://github.com/k9mail/k-9/issues/655#issuecomment-211689073","issue_url":"https://api.github.com/repos/k9mail/k-9/issues/655","id":211689073,"user":{"login":"philipwhiuk","id":1316415,"avatar_url":"https://avatars.githubusercontent.com/u/1316415?v=3","gravatar_id":"","url":"https://api.github.com/users/philipwhiuk","html_url":"https://github.com/philipwhiuk","followers_url":"https://api.github.com/users/philipwhiuk/followers","following_url":"https://api.github.com/users/philipwhiuk/following{/other_user}","gists_url":"https://api.github.com/users/philipwhiuk/gists{/gist_id}","starred_url":"https://api.github.com/users/philipwhiuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philipwhiuk/subscriptions","organizations_url":"https://api.github.com/users/philipwhiuk/orgs","repos_url":"https://api.github.com/users/philipwhiuk/repos","events_url":"https://api.github.com/users/philipwhiuk/events{/privacy}","received_events_url":"https://api.github.com/users/philipwhiuk/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T02:08:43Z","updated_at":"2016-04-19T02:08:43Z","body":"I've not run into the capabilities bug recently (I applied cketti's fix). So I've been getting on with testing.\r\n\r\n* I've written code that seems to behave correctly for token refresh\r\n* I've started testing non-Gmail accounts ( @AndyCouch ). Not run into any issues so far.\r\n\r\nThought I'd share some screenshots :) \r\n\r\nIn the first you can see OAuth 2.0 has been checked and the account list is now a drop-down with the list of available Google Accounts. The password field is gone and client-certificate option is greyed out.\r\n\r\nIn the second you can see the authentication screenshot that appears. Note currently K-9 is an unregistered app. I need to fix this next because I can't work out how to de-auth an unregistered app and if I can't do that I'll be signing up to lots of Gmail accounts :)\r\n\r\n![screenshot_20160419-022735](https://cloud.githubusercontent.com/assets/1316415/14625394/9886fec4-05da-11e6-907a-75c0a26fbe46.png)\r\n![screenshot_20160419-024046](https://cloud.githubusercontent.com/assets/1316415/14625396/99bfd72a-05da-11e6-8524-13fabbfe6d7f.png)\r\n"}}