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
Make sure you have a working django project setup.
Install django-admin-sso using pip:
pip install django-admin-sso
Install dependencies:
python-openid>=2.2.5
Add admin_sso to installed apps in your settings.py file
Add the django-admin authentication backend:
AUTHENTICATION_BACKENDS = ( 'admin_sso.auth.DjangoSSOAuthBackend', 'django.contrib.auth.backends.ModelBackend', )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
File details
Details for the file django-admin-sso-0.1.0.tar.gz.
File metadata
- Download URL: django-admin-sso-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d552fb909e963e81f5c830d418909ed2383d8dcc2561c9345e940fcbb3e05e80
|
|
| MD5 |
354533fc986b0622f9333171e161e3db
|
|
| BLAKE2b-256 |
c65b5ebf4fe3651db2c78658dd84ff666f8d0229c48c4c834029dc7e2de82afd
|