Skip to main content

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

  1. Add django_facebook_auth to INSTALLED_APPS

    INSTALLED_APPS = (
        'demo',
    )
  2. Add authentication backends to AUTHENTICATION_BACKENDS

    AUTHENTICATION_BACKENDS = (
        'django_facebook_auth.backends.FacebookBackend',
    )
  3. Add facebook settings to settings.py

    FACEBOOK_APP_ID = 704150899695055
    FACEBOOK_APP_SECRET = '6632df15dddaafb2a65043f1b0871655'
    FACEBOOK_REDIRECT_URI = 'http://localhost:8000/login/'

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

django-facebook-auth-helper-0.1.3.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page