Django AllAuth Saml2 provider
Project description
Django allauth saml2 provider, this provider is based on pysaml2 (https://pysaml2.readthedocs.io/)
Quick start
Add “allauth_saml2” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'allauth_saml2', ] SOCIALACCOUNT_PROVIDERS = { 'saml2': { # Metadata is required, choose either remote url or local file path 'METADATA_AUTO_CONF_URL': 'The metadata configuration url', 'METADATA_LOCAL_FILE_PATH': 'The metadata configuration file path', # EntityID populates the Issuer element in authn request Entity ID, optional, url of sp is used when missing # 'ENTITY_ID': 'https://mysite.com/saml2_auth/acs/', # # 'NAME_ID_FORMAT': FormatString, # Sets the Format property of authn NameIDPolicy element # encrypt/sign assertions # 'KEY_FILE': 'key.pem path', # 'CERT_FILE': 'cert.pem path', # 'ACCEPTED_TIME_DIFF': } }
Credits
Tools used in rendering this package:
History
0.1.0 (2021-04-30)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-allauth-saml2-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e76595a61d5f6c9b085a355aa329c9ee852261edaa263e73bc8ec7b7c93ac2b2 |
|
MD5 | eda368dd8c28999cade5a07ee4903018 |
|
BLAKE2b-256 | 3ab3d8f70f5090589ba4fe5aa93667a559ff24a4cbdb558fcae8cc416f4e60b4 |
Close
Hashes for django_allauth_saml2-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d671f5809aee78a76148733ea36869472a950c239ac41127eb08293cbc1a81ad |
|
MD5 | 7896b783aa66839524a5ee031c8daafb |
|
BLAKE2b-256 | 4b41790935a46087e9cbc661cb2c320d7241a9030f1588a3cd8a11600da52458 |