Skip to content

Releases: torchbox/django-basic-auth-ip-whitelist

v0.6.0

18 Jun 10:44
a60509e
Compare
Choose a tag to compare

Breaking change for IP detection ⚠️

IP detection has now been delegated to the user to implement, as the configuration varies massively depending on the deployment environment. Now, BasicAuthIPWhitelistMiddleware uses request.META["REMOTE_ADDR"] as the client's IP, which corresponds to the IP address connecting to Django.

In most deployments, the X-Forwarded-For header can be used to correctly determine the client's IP. We recommend django-xff to help parse this header correctly. Because django-xff overrides REMOTE_ADDR by default, it is natively supported by BasicAuthIPWhitelistMiddleware.

What's Changed

New Contributors

Full Changelog: v0.5...v0.6.0

v0.5a

24 Jan 15:45
Compare
Choose a tag to compare
Release: 0.5a

v0.3.4

22 Jun 22:12
8a7dfe2
Compare
Choose a tag to compare