Skip to main content

Django AllAuth Saml2 provider

Project description

https://badge.fury.io/py/django-allauth-saml2.svg

Django allauth saml2 provider, this provider is based on pysaml2 (https://pysaml2.readthedocs.io/)

Quick start

  1. 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


Download files

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

Source Distribution

django-allauth-saml2-0.2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_allauth_saml2-0.2.0-py2.py3-none-any.whl (7.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-allauth-saml2-0.2.0.tar.gz.

File metadata

  • Download URL: django-allauth-saml2-0.2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for django-allauth-saml2-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e344a5b116608fc731109dbc27924dc699908c6ca82a2e21ecf0f8cf9c1dd5e4
MD5 4c13bd9e6ae30c4adef0c6cdd4ab3734
BLAKE2b-256 6ec67f8a2658a394af5f6586b5e13c0a4f3ec6cb61a6efe0ed9327bd6d47c00e

See more details on using hashes here.

File details

Details for the file django_allauth_saml2-0.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: django_allauth_saml2-0.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for django_allauth_saml2-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7100a4405dc6a210da13e2dfe67be5f2ea6abe91212617b236a0119846cef09b
MD5 b3c7c2540bc46919b273b163f07d3a81
BLAKE2b-256 533f3d773a94272035aff0a30429e23a1c2ad0b6892b4c10c7c427126ddbf5fd

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