Is there any simple user authorization mechanism for installed app in 
google app engine?

Background:
There is some functionality in my GAE app that only some group of user 
should have access to (for example, app admins). 
Utility to work with functionality implemented as python client application 
(runned on local pc, not in browser).

I've tried to use Users service, but users.get_current_user() returns None. 
AFAICS, 
it happens cause user login information stored as cookie in browser and 
admin utility communicates with GAE app using it's own httplib2 http 
object. And there is no information about user login in it.

Also I've tried to use oauth2, but Decorator implementation depends on 
users.get_current_user() 
and result is the same.

Seems that, "login: admin" field in app.yaml depends on Users service too.

Maybe there is some simple way to login user from client app without 
browser?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/LZAt6fqj42oJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to