django-auth-gapps

Software Screenshot:
django-auth-gapps
Software Details:
Version: 0.1
Upload Date: 14 Apr 15
Developer: David Burke
Distribution Type: Freeware
Downloads: 10

Rating: nan/5 (Total Votes: 0)

django-auth-gapps is a simple way to authenticate to Google Apps using the provisioning API. If you want oath to allow any Google user to login look elsewhere.

This is more like a Google Apps version of django-auth-ldap. It supports Group mappings as well.

Installation

Install gdata, either from a linux repo or pypi.

pip install gdata

Install from source or pypi

pip install django-auth-gapps (not yet up)

In settings.py

GAPPS_DOMAIN = 'mydomain.com'
GAPPS_USERNAME = ''
GAPPS_PASSWORD = ''
# Check for new groups, or only on initial user creation
GAPPS_ALWAY_ADD_GROUPS = False
AUTHENTICATION_BACKENDS += ('google_auth.backends.GoogleAppsBackend',)


Add 'google_auth' to installed_apps

Add to urls.py patterns('', (r'^accounts/login/$', 'google_auth.views.login'), )

syncdb

You can set up group mappings in /admin if you want.

Requirements:

  • Python
  • Django

Other Software of Developer David Burke

Django-SIS
Django-SIS

6 Jun 15

Comments to django-auth-gapps

Comments not found
Add Comment
Turn on images!