django-allauth 0.57.0 released

Posted by Raymond Penners on 2023-09-24

Note worthy changes

  • Added Django password validation help text to password1 on set/change/signup forms.
  • Microsoft: the tenant parameter can now be configured per app.
  • SAML: Added support for additional configuration parameters, such as contacts, and support for certificate rotation.
  • The enumeration prevention behavior at signup is now configurable. Whether or not enumeration can be prevented during signup depends on the email verification method. In case of mandatory verification, enumeration can be properly prevented because the case where an email address is already taken is indistinguishable from the case where it is not. However, in case of optional or disabled email verification, enumeration can only be prevented by allowing the signup to go through, resulting in multiple accounts sharing same email address (although only one of the accounts can ever have it verified). When enumeration is set to True, email address uniqueness takes precedence over enumeration prevention, and the issue of multiple accounts having the same email address will be avoided, thus leaking information. Set it to "strict" to allow for signups to go through.

Fixes

  • Fixed ?next= URL handling in the SAML provider.
  • During 2FA, pending logins were incorrectly removed when e.g. Django was asked to serve a /favicon.ico URL.

Next: django-allauth 0.58.0 released Previous: django-allauth 0.56.1 released
Archives