Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > HTTP (WWW)

    django-federated-login 0.3.1

    Download button

    No screenshots available
    Downloads: 119  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Bouke Haarsma | More programs
    MIT/X Consortium Lic... / FREE
    September 20th, 2012, 05:37 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-federated-login description

    Provides federated logins to Django projects

    django-federated-login is a Djhango app that provides an authentication bridge between Django projects and OpenID-enabled identity providers. The bridge is pre-wired to be used with a single Google Apps domain, but could be extended to be linked with other OpenID providers also. It is different from other OpenID consumers as this consumer only allows connecting to a pre-defined identity provider.

    The provided backend matches users based on the e-mail address returned from the identity provider. If no matching user could be found, a user account can optionally be created.

    Installation

    Installation with pip:

     pip install django-federated-login

    Add 'federated_login' to your list of installed apps:

    settings.py:
    INSTALLED_APPS = (
     ...
     'federated_login',
    )


    Add 'federated_login.auth.backend.EmailBackend' as authentication backend:

    settings.py:
    AUTHENTICATION_BACKENDS = (
     'federated_login.auth.backends.EmailBackend',
     'django.contrib.auth.backends.ModelBackend',
    )


    Provide the Google Apps domain to identify against:

    settings.py:
    FL_APPS_DOMAIN = 'webatoom.nl'


    Register the views:

    urls.py:
    url(r'^federated/', include('federated_login.urls')),

    Usage

    Point your browser to /federated/login/. You might want to include a button to this url on the regular login page.

    Extra settings

    These are the customizable settings:

    FL_APPS_DOMAIN
     Google Apps domain to identify against.
    FL_CREATE_USERS (Default: False)
     Whether to create a user account when unknown e-mail address is presented.
    FL_USER_FACTORY (Default: 'aba.utils.fl_user_factory')
     Function that is called when creating a user account.
    FL_SSO_ENDPOINT (Default: Google Apps)
     Override this setting to link with another OpenID identity provider.

    Notes

    This package depends on a fork of python-openid as the current upstream version (2.2.5) does not play well with a Google extension used by Google Apps identity provider. This fork is not listed on PyPi, so you have to include the following line in your requirements.txt to instruct pip where the patched version of python-openid can be found:

    requirements.txt:
    --find-links https://github.com/Bouke/python-openid/downloads



    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    federated logins | Django projects | Django | federated | login

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM