You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using GoogleCredential.getApplicationDefault, the credentials are cached in DefaultCredentialProvider (code).
This is an issue for long lived programs where the application defaults may change. One example is the Gradle wrapper (see gradle/gradle#31652 (comment)).
It would be nice if GoogleCredential could be instanciated so that we could manage its lifecycle.