Skip to main content

Django admin SSO lets users login to a django admin using an openid provider. It then looks up the email address of the new user and looks up the rights for him.

Installation

  1. Make sure you have a working django project setup.

  2. Install django-admin-sso using pip:

    pip install django-admin-sso
  3. Install dependencies:

    • python-openid>=2.2.5

  1. Add admin_sso to installed apps in your settings.py file

  2. Add the django-admin authentication backend:

    AUTHENTICATION_BACKENDS = (
        'admin_sso.auth.DjangoSSOAuthBackend',
        'django.contrib.auth.backends.ModelBackend',
    )
  3. Run syncdb to create the needed database tables.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-admin-sso-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

File details

Details for the file django-admin-sso-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-admin-sso-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d552fb909e963e81f5c830d418909ed2383d8dcc2561c9345e940fcbb3e05e80
MD5 354533fc986b0622f9333171e161e3db
BLAKE2b-256 c65b5ebf4fe3651db2c78658dd84ff666f8d0229c48c4c834029dc7e2de82afd

See more details on using hashes here.

Supported by

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