Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you deploy with OAuth2 from the GAE Launcher?

I'm trying to deploy my GAE app with the handy launcher, but as my account uses 2-factor authentication, it's being a little difficult:

Password for <me>@gmail.com: Use an application-specific password 
instead of your regular account password.
See http://www.google.com/support/accounts/bin/answer.py?answer=185833
However, now the recommended way to log in is using OAuth2. See 
https://developers.google.com/appengine/docs/python/tools/uploadinganapp#oauth

At the above webpage I'm instructed to simply throw --oauth2 in the options to appcfg.py:

appcfg.py --oauth2 update myapp/

If I was on the command line, it would be straightforward, but if I'm using the GAE Launcher, how can I use OAuth2? The only place I see to add command-line options is for running the app locally, not deployment.

like image 405
Nick T Avatar asked Mar 09 '13 22:03

Nick T


1 Answers

You need to create an application specific password for this to work - that will mean you can deploy applications using a username/password combination.

like image 177
xlfe Avatar answered Nov 15 '22 09:11

xlfe