Does anyone have an official/recommended oauth2 command line python script 
example which can authenticate a user in an appengine project? Ie, one that 
sets google.appengine.api.get_current_user()?

I had a script which used the old clientlogin interface to log into a page 
to extract stats, but that is now depreciated and now we have to switch to 
oauth2.

Im hoping that I dont have to modify my appengine app to enable use/setting 
of the user variable in appengine. I mean it's auth'ing a google account 
through google infrastructure, so in theory google's front end should be 
able to do the oauth2 redirects and such forth before it passes the request 
on to my appengine project, shouldnt it?

I have a working commandline script which can use oauth2 to login (it gives 
you a url to visit, you auth there in a browser and enter a magic string 
and that seems to work).

I guess im asking:

  * is there a magic google oauth scope which sets the user for an 
appengine script? or do i have to totally roll my own appengine oauth
  * is there a 'reference' example for the minimal *command line* (non 
browser) script settings to authenticate a user for appengine?


-- 
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/d1350838-7f6c-4225-84d8-c3cdaa17b476%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine] S... Cameron Blackwood

Reply via email to