django-appengine-auth 0.1

An extension to django-social-auth with a backend for the Google App Engine OAuth endpoint

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Marc Hoersken
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django-appengine-auth is an extension to django-social-auth which adds a OAuth backend for Google App Engine based Google Accounts.

This application makes use of the [Google App Engine OAuth Profile endpoint application which is by default hosted at https://oauth-profile.appspot.com/

Installation

You can install the latest version from GitHub manually:

    git clone https://github.com/mback2k/django-appengine-auth.git
    cd django-appengine-auth
    python setup.py install


or via pip:

    pip install https://github.com/mback2k/django-appengine-auth/zipball/master

Configuration

Add the package to your `INSTALLED_APPS`:

    INSTALLED_APPS += (
        'social_auth',
        'appengine_auth',
    )


Add the backend to your `AUTHENTICATION BACKENDS`:

    AUTHENTICATION_BACKENDS += (
        'appengine_auth.backends.GoogleAppEngineOAuthBackend',
    )


Additional Settings

Add some or all of the following settings to your `settings.py`:

    # Hostname of the OAuth and Web Service endpoint
    GOOGLE_APPENGINE_OAUTH_SERVER = 'oauth-profile.appspot.com'

    # Use static and unique Google App Engine user's user_id as identifier
    # Defaults to False which makes it use the user's email address
    GOOGLE_APPENGINE_OAUTH_USE_UNIQUE_USER_ID = True

    # Setup Google OAuth consumer key and secret
    GOOGLE_APPENGINE_CONSUMER_KEY = ''
    GOOGLE_APPENGINE_CONSUMER_SECRET = ''


Please refer to the Django-Social-Auth documentation for additional information.

Last updated on July 4th, 2012

requirements

#Google App Engine #Django authentication #Django #GAE #OAuth #authentication

Add your review!

SUBMIT