Skip to content

Releases: grafana/django-saml2-auth

v3.18.0

08 Nov 15:28
5b19d9c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.17.0...v3.18.0

v3.17.0

07 Nov 17:11
cee33f0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.16.0...v3.17.0

v3.16.0

23 Oct 08:55
df32f5f
Compare
Choose a tag to compare

What's Changed

  • [feat] Implement a setting to disable the exception handler. by @henryh9n in #345

New Contributors

Full Changelog: v3.15.0...v3.16.0

v3.15.0

14 Oct 07:50
cba317c
Compare
Choose a tag to compare

This release introduces a new feature that allows the extraction of custom attributes from the SAML Response during user identity processing. The new hook function, TRIGGER.EXTRACT_USER_IDENTITY, accepts two parameters:

  1. A user dictionary that has been processed by the extract_user_identity function.
  2. A decoded but unvalidated AuthnResponse object, provided as a raw XML string.

If this function is implemented, it MUST return the user dictionary or optionally enrich it with additional attributes extracted from the AuthnResponse.

Warning

This hook function receives an unvalidated and unverified raw XML string. Extreme caution is required to validate the attributes before using them. For example, the Issuer and NameID attributes should at minimum be verified to contain a valid URL and URN, respectively. For further details, refer to this discussion.

What's Changed

Full Changelog: v3.13.0...v3.15.0

v3.14.0

09 Oct 14:36
3781931
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.12.0...v3.14.0

v3.12.0

16 Nov 11:58
c8df048
Compare
Choose a tag to compare

This release contains version updates, deprecation and fixes to encryption. Support for Python 3.7 and 3.8 are removed, as well as Django 4.0 and 4.1. The encryption in this library was tricky, and with fixes by @gregorywong, it is supposed to work as expected. If you are already using CERT_FILE and KEY_FILE parameters, you don't need to touch anything, as the ENCRYPTION_KEYPAIRS will be automatically populated. Also, pysaml2 is updated to 7.4.2 to add support for xmlsec1 v.1.3.x, thanks to @mvbattista. The other dependencies are updated as well.

What's Changed

New Contributors

Full Changelog: v3.11.0...v3.12.0

v3.11.0

31 Jul 09:37
64e9cfb
Compare
Choose a tag to compare

This release contains 3 important features:

  1. Long sought-after debugging. See how to debug.
  2. Support for key and certificate files, configurable via KEY_FILE: str and CERT_FILE: str respectively, thanks to @sgabb.
  3. Support for creating groups if they don't exist in Django based on incoming IdP group attribute statements, configurable via CREATE_GROUPS: bool, thanks to @santigandolfo.

What's Changed

New Contributors

Full Changelog: v3.10.0...v3.11.0

v3.10.0

29 May 11:19
6d1bc2a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.9.0...v3.10.0

v3.9.0

11 Oct 14:00
c146dbc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.8.0...v3.9.0

v3.8.0

20 Jul 08:06
02989f1
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.7.0...v3.8.0