Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

To provide plugable django applications which integrates itself with Django's own authentication system, without breaking any existing django code. Current simultaneous authentications for: django.contrib.auth + Facebook authentication + Google+ authentication

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 account
Octocat-spinner-32 facebook
Octocat-spinner-32 googleplus
Octocat-spinner-32 templates
Octocat-spinner-32 README
Octocat-spinner-32 __init__.py
Octocat-spinner-32 django_custom_auths.db
Octocat-spinner-32 manage.py
Octocat-spinner-32 settings.py
Octocat-spinner-32 urls.py
README
Django auth backends without breaking each other.
(django.contrib.auth + facebook auth + googleplus auth)

To provide plugable django applications which integrates itself with
Django's own authentication system, without breaking any existing django code.

A demo Django project to illustrate the working and implementation of different
custom authentication backends, in tandem with Django's own authentication
system, is included.

THIS IS A WORK IN PROGRESS, AND CURRENTLY NOT DOCUMENTED.

Currently supported, simultaneous auth backends:
-------------------------------------------------
- Usual Django login
- Login with Facebook (using Facebook Graph API)
- Login with Google+

Installing (Tryout)
-------------------
Just clone this repo and hit 'runserver', to try this out.

For Facebook app:
i) Create a facebook app from the facebook developers site (with redirect_uri as '/facebook/login/')
ii) Update settings.py with 'FACEBOOK_APP_ID' and 'FACEBOOK_APP_SECRET'.

For Google+ app:
i) Create a new application from the Google APIs Console (https://code.google.com/apis/console/),
with redirect uri specified to '/googleplus/login/' of your server.
ii) Use the 'client_id' and 'client_secret' obtained from step i, and make
appropriate changes in settings.py to update 'GOOGLEPLUS_CLIENT_ID' and
'GOOGLEPLUS_CLIENT_SECRET'.
Something went wrong with that request. Please try again.