Hi Any reason why you didnt use the jsonrpc provided by tipfy? http://www.tipfy.org/wiki/extensions/jsonrpc/
Looks like tipfy auth+jsonrpc should be a good combination. Cheers Pankaj On Wed, Jun 8, 2011 at 5:57 PM, Sylvain <[email protected]> wrote: > Hi, > > Currently, I use an "old" Tipfy module auth : > > http://code.google.com/p/tipfy-ext-auth/source/browse/tipfy/ext/auth/model.py > and protorpc for the JSON message. > http://code.google.com/p/google-protorpc/ > > I've created a SessionMessage(session_id, user_id) that is sent in all > JSON request/response. > > For the auth part : tipfy is probably the best choice because it can > use basic auth and FaceBook, Google,... > > Sylvain > > > On Jun 8, 1:26 pm, Felipe Meirelles <[email protected]> wrote: > > Again, I use django+piston to serve Json with auth on Appengine. I'll > take a > > look at tipfy too (: > > Anyway, what made me go for django is the fact that if I need to go out > of > > appengine for any reason I don't have to rewrite my app. > > > > > > > > > > > > > > > > > > > > On Wed, Jun 8, 2011 at 8:20 AM, Pankaj Chawla <[email protected]> > wrote: > > > Thanks I will check it out. After I emailed, I was looking around and > found > > > tipfy(http://www.tipfy.org/). Its supposedly a framework specifically > for > > > GAE > > > and it also supports multiple modes of authentication including > datastore > > > based. > > > Anybody has used it and have good/bad things to say about it. > > > > > BTW, my app on GAE will only be exposing a json based API that will be > > > used by a custom client built in Qt for desktop and maybe later a > native > > > android/iPhone app. Are there any resources out there that talk about > this > > > especially with respect to authentication, sessions etc as the API > > > should only respond to authenticated users within a specific session. > > > I found a few pointers on stackoverflow.com but non that were > extensive. > > > > > Thanks > > > Pankaj > > > > > On Wed, Jun 8, 2011 at 4:38 PM, Felipe Meirelles <[email protected]> > wrote: > > > > >> Actualy the django login system works realy fine on appengine. > > > > >> Take a look athttp://www.allbuttonspressed.com/and grab the > > >> djangoappengine project. They have "ported" both auth and admin module > to > > >> appengine, as many other things in django. > > >> I use it on two commercial applications on appengine and it works > great. > > > > >> On Wed, Jun 8, 2011 at 6:14 AM, Pankaj Chawla <[email protected] > >wrote: > > > > >>> Hi > > > > >>> I understand that google appengine supports user authentication using > > >>> google > > >>> accounts or openid or google app accounts. I am trying to build an > > >>> application > > >>> on appspot.com where the end user may not have google or openid > accounts > > >>> and > > >>> hence need to support a custom user authentication with datastore > based > > >>> users. > > >>> Before I decide to write one from scratch I was wondering if the user > > >>> authentication > > >>> of say Django or any other python framework can be leveraged. > > > > >>> One option for me is to pick a google app account and then provide an > > >>> interface to > > >>> allow user creation for my custom domain like [email protected] but I > > >>> figured > > >>> that beyond 10 users, Google Apps account charges $5 per user > account. > > >>> Thats > > >>> seems to be a lot of money just for user creation as they wont be > using > > >>> the other > > >>> add-ons that come with the Google App account. > > > > >>> Thanks > > >>> Pankaj > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > 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. > > > > -- > > Att, > > Felipe Meirelles. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > 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. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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.
