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

supabase / auth / 17946278066
69%

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2025 12:39PM UTC
Jobs 1
Files 164
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

23 Sep 2025 12:32PM UTC coverage: 67.891% (+0.007%) from 67.884%
17946278066

push

github

web-flow
feat: add phone to sms webhook payload (#2160)

## What kind of change does this PR introduce?

This PR adds the phone number to the SendSMS webhook, when a phone
factor is challenged or a phone confirmation is required.

## What is the current behavior?

Currently, the SMS webhook only sends the `user_id` and the `otp_code`.
However, we have no way of knowing which factor (device) was used in
case the send SMS webhook is used for MFA (as opposed to phone
confirmation, which uses the user's phone number), and there is more
than one device enrolled for a single user.

## What is the new behavior?

The webhook payload contains `phone`, which is either the user's phone
number for phone confirmation or the factor phone number for MFA with a
phone factor.

## Additional context

Add any other context or screenshots.

5 of 6 new or added lines in 2 files covered. (83.33%)

12959 of 19088 relevant lines covered (67.89%)

65.56 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
58.39
0.15% internal/api/mfa.go
Jobs
ID Job ID Ran Files Coverage
1 17946278066.1 23 Sep 2025 12:39PM UTC 164
67.89
GitHub Action Run
Source Files on build 17946278066
  • Tree
  • List 164
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d475ac1f on github
  • Prev Build on master (#17928583314)
  • Next Build on master (#17946580644)
  • 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

© 2025 Coveralls, Inc