Spid Django Versions Save

SPID authentication for Django

v1.1.4

2 years ago

Release notes

v1.1.4 @peppelinux (#84), globally configurable parameters:

  • added settings.SAML2_ENTITY_ID
  • added settings.SPID_ATTR_MAP_DIR

v1.1.3

2 years ago

Release notes

  • PySaml2 monkey patch @brunato (#82)
  • chore: example project now have SPID_BASE_URL configurable via ENV

v1.1.2

2 years ago

Release notes

  • Spid logout won't redirect unlogged user to spid login @peppelinux (#81)

v1.1.1

2 years ago

Release notes

v1.1.0

2 years ago

Django 2.2 and CIE metadata and attributes

  • chore: spid-django in pypi @peppelinux (#79)
  • chore: spid metadata as django class view
  • chore: README setup additional informations and tips
  • fix: spid-django example project now works also with django 2.2
  • chore: removed spid-testenv2 from README
  • feat: added 'allow_unsolicited` as customizable parameter in SAML_CONF SETTING
  • feat: CIE metadata endpoint and attributes (#80)
  • fix: removed useless test regarding the metadata web path

v1.0.1

2 years ago

Release notes

  • v1.0.1 @peppelinux (#78)
  • Change test IdP settings @brunato (#77)

example project changes

  • Add SPID_VALIDATOR_IDP_ACTIVE and SPID_VALIDATOR_METADATA_URL

  • SPID_SAML_CHECK_DEMO_REMOTE_METADATA_ACTIVE -> SPID_DEMO_IDP_ACTIVE

  • SPID_SAML_CHECK_DEMO_METADATA_URL -> SPID_DEMO_METADATA_URL

  • SPID_SAML_CHECK_REMOTE_METADATA_ACTIVE -> SPID_SAML_CHECK_IDP_ACTIVE (also checking the old name as fallback)

  • New template tags for checking if add test IdPs to SPID button

  • Set SPID_SAML_CHECK_DEMO_METADATA_URL default to 'https://demo.spid.gov.it/metadata.xml'

  • Maybe this setting has become useless because the demo IdP metadata URL is well known and has a fixed

  • Changed test IdP settings

v1.0.0

2 years ago
  • Add templates for importing the SPID button and its scripts

    • Import where the SPID button is needed and with a parameter size=('s'|'m'|'l'|'xl')
    • Import scripts required for SPID button at the end of the page
    • Add template filter spid_button_size
  • Add settings for required and optional attributes (#73)

  • Add spid_attributes module and clean attribute maps

  • Add SPID_REQUIRED_ATTRIBUTES and SPID_OPTIONAL_ATTRIBUTES settings

  • Add comment on how to provide a full static SAML_CONFIG

  • chore: removed spid-testenv2

  • chore: removed spid-testenv2
  • feat: added spid-saml-check demo idp
  • feat: spid buttons templates (@brunato )

Co-authored-by: Davide Brunato [email protected]

v0.9.1

2 years ago
  • ACR validation more flexible when idp returns a level higher than the requested one
  • Add alternative settings files for running the demo project
  • Fix wrong version value in setup.py

v0.9.0

2 years ago
  • Unify SpidError class

    • Remove SpidAnomaly class
    • Rename and extend SPID_ANOMALIES table -> SPID_ERRORS
    • Add tests for Spid errors
  • Additional tests on ACR

  • feat: ACR check if lower than which one was requested
  • fix: if a spid_error doesn't exists DON'T raise a KeyError, just pass by, it's an unhandled error but still good because it's representable as it is
  • Add description to Spid user anomalies

    • clean test module src/djangosaml2_spid/tests.py
    • remove unused template example/spid_config/templates/wayf_.html

Co-authored-by: Davide Brunato [email protected]

v0.8.0

2 years ago
  • Add uwsgi server for development
  • Add missing statics files (fonts used by Boostrap Italia theme)
  • Fix the checking of InResponseTo