Releases: fosrl/badger
v1.3.1
What's Changed
- Add send Badger version to Pangolin for verify-session
Full Changelog: v1.3.0...v1.3.1
v1.3.0
What's Changed
- Add support for Cloudflare proxy real IP headers to get client IP addresses when behind Cloudflare proxy
- Add support for custom trusted proxy headers to get client IP addresses when behind a trusted proxy other than Cloudflare proxy
- Add Remote-Role header to Badger passthrough headers
- Add throw a 401 redirect as necessary for the header auth to prompt the browser for a user and password
Full Changelog: v1.2.1...v1.3.0
Cloudflare Proxy Real IP Support
This release improves how Badger determines the real client IP when requests pass through proxies.
Badger 1.3.0 now automatically supports Cloudflare by trusting Cloudflare IP ranges and extracting the client IP from the CF-Connecting-IP header, ensuring accurate IPs for rate limiting, logging, geoblocking, and downstream services without extra configuration.
It also adds support for non-Cloudflare setups. You can now define custom trusted proxy IP ranges and specify a custom header to extract the client IP, making Badger usable behind any trusted load balancer or reverse proxy.
For more information about how this works read the README.
For how this works with Pangolin, read the Pangolin Docs.
v1.2.1
v1.2.0
v1.1.0
What's Changed
- Pass all headers and query params in
verify-sessionrequest body - Apply response headers to http response
- Remove accessTokenQueryParam
- Access token check is now performed by third party in
verify-sessionrequest
- Access token check is now performed by third party in
Full Changelog: v1.0.0...v1.1.0
v1.0.0
v1.0.0-beta.3
What's Changed
- Exchange temporary resource session for real resource session using query param
- Remove
resource_session_cookie_name - Pass request client IP to Pangolin
Full Changelog: v1.0.0-beta.2...v1.0.0-beta.3
v1.0.0-beta.2
What's Changed
- Extract Pangolin access token from query param
- Pass through cookies from Pangolin to response
Full Changelog: https://github.com/fosrl/badger/commits/v1.0.0-beta.2