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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e344a5b116608fc731109dbc27924dc699908c6ca82a2e21ecf0f8cf9c1dd5e4 |
|
MD5 | 4c13bd9e6ae30c4adef0c6cdd4ab3734 |
|
BLAKE2b-256 | 6ec67f8a2658a394af5f6586b5e13c0a4f3ec6cb61a6efe0ed9327bd6d47c00e |
Close
Hashes for django_allauth_saml2-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7100a4405dc6a210da13e2dfe67be5f2ea6abe91212617b236a0119846cef09b |
|
MD5 | b3c7c2540bc46919b273b163f07d3a81 |
|
BLAKE2b-256 | 533f3d773a94272035aff0a30429e23a1c2ad0b6892b4c10c7c427126ddbf5fd |