djangosaml2

Django SAML2 Service Provider based on pySAML2

APACHE-2.0 License

Downloads
366.6K
Stars
258
Committers
96

Bot releases are visible (Hide)

djangosaml2 - v1.0.0

Published by peppelinux almost 4 years ago

  • General code refactor based on Django ClassViews
  • Better Code Coverage
  • Discovery Service support
  • HTTP-Redirect with optional signed authn requests
djangosaml2 - v0.50.0

Published by peppelinux about 4 years ago

Discovery Service support

djangosaml2 - v0.40.1

Published by peppelinux about 4 years ago

Minor release with two bugfixes. The first regards the missing signature in http-redirect sso binding, the second came with the latter changes introduced by SameSite cookie, now fixed.

djangosaml2 - v0.40.0

Published by peppelinux about 4 years ago

  • Allow a SSO request without any attributes besides the NameID info. Backwards-incompatible changes to allow easier behaviour differentiation, two methods now receive the idp identifier (+ **kwargs were added to introduce possible similar changes in the future with less breaking effect):
    • Method signature changed on Saml2Backend.clean_attributes: from clean_attributes(self, attributes: dict) to clean_attributes(self, attributes: dict, idp_entityid: str, **kwargs)
    • Methodignature changed on Saml2Backend.is_authorized: from is_authorized(self, attributes: dict, attribute_mapping: dict) to is_authorized(self, attributes: dict, attribute_mapping: dict, idp_entityid: str, **kwargs)
  • SAML session refactor and minor changes in README file
  • local Logout - indipendent by IdP SLO Response
djangosaml2 - v0.30.0

Published by peppelinux about 4 years ago

SameSite workaround with a specialized cookie decoupled from django default one

djangosaml2 - v0.20.0

Published by peppelinux over 4 years ago

  • Bugfix: Always save newly created users when ATTRIBUTE_MAPPING is missing in the config
  • pySAML2 v5.3.0
djangosaml2 - v0.19.1

Published by peppelinux over 4 years ago

  • Fixed creating new user with iexact lookup
djangosaml2 - v0.19.0

Published by peppelinux over 4 years ago

  • Support several required fields during User creation
  • Don't pass sigalg parameter when not signing login request
  • ALLOW_SAML_HOSTNAMES validation for redirect
  • Custom attribute mapping for Django user model (example)
  • Slo absence workaround
  • Metadata EntityID exception handling
  • Fix unsigned authentication request to POST endpoint
  • py38 Test fixes
  • CI with Github actions
  • Backend restructuring for easier subclassing
  • Assertion consumer service now more extensible as a class-based view
    with hooks that can be overridden by subclass implementations.
Package Rankings
Top 2.39% on Pypi.org
Badges
Extracted from project README
Downloads
Related Projects