{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/386","labels_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/386/comments","events_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/386/events","html_url":"https://github.com/chrsmith/google-api-java-client/issues/386","id":59361645,"number":386,"title":"AccountManager getAuthToken new issue still using same code that always worked","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-28T22:17:58Z","updated_at":"2015-02-28T22:17:59Z","closed_at":"2015-02-28T22:17:59Z","body":"```\nVersion of google-api-java-client (e.g. 1.5.0-beta)?\n\n\nJava environment (e.g. Java 6, Android 2.3, App Engine)?\nMultiple Android versions: 2.2+\n\nDescribe the problem.\n\nI am not sure where the source of this problem is but I will start by \nreaching out here.  I use oAuth2 for auth tokens to perform updates to Google \nLatitude.  I have not updated my libraries recently and am still using client \n1.4.1 from last summer.  \n \nProblem:  on AccountManager > getAuthToken(...)   Randomly and only \nrecently, I have started getting back \"AccountManager.KEY_INTENT\"s \nwhen I attempt to refresh an expired token, instead of receiving a \nvalid refreshed authentication token as expected. \n\nNothing has changed on my end and it only occurs randomly.  When it \nhappens and is ignored, another attempt to refresh the token again, \nusually succeeds.  However, when it does fail (when the intent comes \nback instead of a token) an unfriendly Google dialog pops up prompting \nthe user to enter their password.  Entering your password doesn't stop \nit from occurring in the future.  The dialog is not the result of any \n\"start activity\" code on my end.  It must be launching from within the \nAccountManager framework. \n\nFor my app, I used the standard code examples that are all over the \nweb to accomplish the task of getAuthToken.  It only started happening \nto users in the last week or two.  I haven't updated any Google shared \nlibraries, but perhaps a required update has been implemented \nrecently? \n\nHow would you expect it to be fixed?\n\nI just want to know if something changed that I need to address and my \nauthentication ways of the past are no longer acceptable?\n```\n\nOriginal issue reported on code.google.com by `gaugl...@gmail.com` on 11 Jan 2012 at 6:11"},"comment":{"url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/comments/76551163","html_url":"https://github.com/chrsmith/google-api-java-client/issues/386#issuecomment-76551163","issue_url":"https://api.github.com/repos/chrsmith/google-api-java-client/issues/386","id":76551163,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-28T22:17:59Z","updated_at":"2015-02-28T22:17:59Z","body":"```\nThis is a great question, but it is not a defect in this library.  Please ask \nit on the Google Group instead:\nhttps://groups.google.com/forum/#!forum/google-api-java-client\n```\n\nOriginal comment by `yan...@google.com` on 18 Jan 2012 at 12:24\n* Changed state: **Invalid**"}}