Archive

Archive for the ‘gae’ Category

Open ID login with Google App Engine + Django

June 16th, 2010 2 comments

Hi!, this a clean and simple sample test of a web app using Open ID login in Google App Engine + Django.

http://bitbucket.org/deccico/djangoappengine-openid-sample

This application combines with slight modifications, the following projects:

  • Djangoappengine: http://www.allbuttonspressed.com/projects/djangoappengine
  • Django-nonrel http://www.allbuttonspressed.com/projects/django-nonrel – Changes to Text fields to Chars, due to lack of filtering support in the firsts
  • OpenID integration: https://launchpad.net/django-openid-auth – Small change in the login view template, in order to work with standard Cross site forgery protection
  • Python OpenID library: http://github.com/openid/python-openid

Just remember to add {% csrf_token %} within the login form of your own view.

enjoy!