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

supabase / auth / 21407255753
69%

Build:
DEFAULT BRANCH: master
Ran 27 Jan 2026 05:33PM UTC
Jobs 1
Files 171
Run time 1min
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

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.

11 of 12 new or added lines in 3 files covered. (91.67%)

14849 of 21577 relevant lines covered (68.82%)

79.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
57.13
0.0% internal/api/mfa.go
Jobs
ID Job ID Ran Files Coverage
1 21407255753.1 27 Jan 2026 05:33PM UTC 171
68.82
GitHub Action Run
Source Files on build 21407255753
  • Tree
  • List 171
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 1ae3a3dc on github
  • Prev Build on master (#21404033705)
  • 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