Django implementation for Facebook authentication.
Project description
Facebook auth login library based on Django class based structure
A stable for Django >= 1.7 & Python >= 2.7
Configuration
Settings
Install django_facebook_auth_helper
pip install django_facebook_auth_helper
Add django_facebook_auth to INSTALLED_APPS
INSTALLED_APPS = ( 'django_facebook_auth', )
Add authentication backends to AUTHENTICATION_BACKENDS
AUTHENTICATION_BACKENDS = ( 'django_facebook_auth.backends.FacebookBackend', )
Add facebook settings to settings.py
FACEBOOK_APP_ID = YOUR_APP_ID FACEBOOK_APP_SECRET = 'YOUR_APP_SECRET' FACEBOOK_REDIRECT_URI = 'http://localhost:8000/login/'
Import django_facebook_auth modules to views.py
from django_facebook_auth.views import FacebookLoginMixin from django_facebook_auth.models import FacebookSession
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-facebook-auth-helper-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6b7e0bc3630f607e3776cb1504c6c91bc02168373e5615f3f6c8c2760a2f022 |
|
MD5 | 212836a8d92a9be2a029e89af6ea1b2b |
|
BLAKE2b-256 | 57275d6d518964f9102405832d9261612a28cb02d74031245b6102d2d262cc2a |