Simple Admin SSO
Thanks for Mathias work, see his fork of django admin SSO
Dependencies
django-admin-sso2
Installation
pip install leonardo-admin-sso
Usage
Navigate to Google’s Developer Console, create a new project, and create a new client ID under the menu point “APIs & AUTH”, “Credentials”. The redirect URI should be of the form http://example.com/admin/admin_sso/assignment/end/
Run ./manage.py migrate to create the needed database tables.
Log into the admin and add an Assignment.
Assignments
Any Remote User -> Local User X
Select Username mode “any”.
Set Domain to your authenticating domain.
Select your local user from the User drop down.
Remote User -> Local User
Select Username mode “matches” or “don’t match”.
Set username to [not] match by.
Set Domain to your authenticating domain.
Select your local user from the User drop down.
Read More
Metadata
Release files for leonardo-admin-sso 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| leonardo-admin-sso-0.0.3.tar.gz | 4.7 kB | Details |
Release files / leonardo-admin-sso-0.0.3.tar.gz
| Download URL | leonardo-admin-sso-0.0.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
797392ec4e6bce453ea31865a3d4ff17b31f8a2e6d91decb470ac51f989a8bd0
|
|
BLAKE2b-256 checksum How to use checksums |
4dbfcc1d503cf1dee8f14139ba740071eee76221bd78fe2c3a34b29f9927a431
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |