• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / auth / 21407255753 / 1
69%
master: 69%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2026 05:33PM UTC
Files 171
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Jan 2026 05:25PM UTC coverage: 68.819%. Remained the same
21407255753.1

push

github

web-flow
chore: Clean up IP address tracking  (#2341)

## What kind of change does this PR introduce?

This PR cleans up various issues and inconsistencies in IP address
tracking in Auth, including:

* Fixing middleware ordering so request logs respect `Sb-Forwarded-For`
as the canonical IP address source if the user enables it
* Replacing all usage of request `RemoteAddr` values with
`utilities.GetIPAddress` calls

## What is the current behavior?

Request logs do not show the correct IP address when passing the
`Sb-Forwarded-For` header with `SbForwardedForEnabled` set to true.
Similarly, audit logs only show the value of the request's `RemoteAddr`
struct field, which is populated by the `github.com/sebest/xff`
middleware.

## What is the new behavior?

IP address tracking should be consistent across all Auth code paths.

14849 of 21577 relevant lines covered (68.82%)

79.56 hits per line

Source Files on job 21407255753.1
  • Tree
  • List 171
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21407255753
  • 1ae3a3dc on github
  • Prev Job for on master (#21404033705.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc