To fix it, you need to run:

gcloud auth application-default login 
--scopes=https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/userinfo.email



It would be really great if this could be made the default, or at least 
documented in the App Engine docs, since I had to reverse engineer this 
from a working token written by the old version of the command.



See 
http://stackoverflow.com/questions/40349915/appengine-remote-api-shell-not-working-with-application-default-credentials-sinc/40493992#40493992


Without this fix, you will see:

HTTP 401 Unauthorized too many auth attempts


I hope this saves someone else some time

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/2fec6786-60f6-4ec1-9f1f-7c322faca643%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to