I filled an issue for this on Github as I ran into the same problem: https://github.com/GoogleCloudPlatform/google-auth-library-python/issues/291
On Sunday, September 9, 2018 at 5:46:55 PM UTC+2, Eric G wrote: > > It appears that the google-auth default credentials > <https://google-auth.readthedocs.io/en/latest/user-guide.html#> will not > work for 2nd generation standard environments, at least not for Python at > the moment, as it requires the app identity/user API. > > Is there a plan for getting default app engine credentials to work in > another way? Or is the recommendation to set the > GOOGLE_APPLICATION_CREDENTIALS env var to point to the service account file > manually? > > Thanks, > Eric > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ada857a2-c564-4269-8bc6-af67200cf495%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.