App Engine SDK to login with username and password while deploying

54 views
Skip to first unread message

Dmitry V.

unread,
Mar 18, 2016, 10:44:57 PM3/18/16
to Google App Engine
In the old version of SDK you have to type e-mail and password each time you upload the application. In the new version it stores your credentials so it is not easy to swtich account. Each time have to press clear deployment credential, login as another user on google, etc. Is there a way to return old way of authorising? Or do it from command line?

Adam (Cloud Platform Support)

unread,
Mar 19, 2016, 4:12:42 PM3/19/16
to Google App Engine
It's not possible to return to the username and password verification, as this relied on the ClientLogin API which is officially deprecated. Going forward OAuth2 will be the only supported method of authentication.

John Flint

unread,
Mar 20, 2016, 8:38:31 AM3/20/16
to Google App Engine
The oath tokens are cached in a file .appcfg_oauth2_tokens in your profile directory. I just renamed this, logged on as a different user, which creates a new file. Subsequently I just rename the file to the target I want on the command line.  There is also a --oauth2_access_token= flag to the update command but I have not tried setting that. 
Reply all
Reply to author
Forward
0 new messages