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

supabase / supabase-flutter / 29413897983
87%

Build:
DEFAULT BRANCH: main
Ran 15 Jul 2026 12:06PM UTC
Jobs 9
Files 97
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

15 Jul 2026 12:04PM UTC coverage: 88.856% (+0.4%) from 88.496%
29413897983

push

github

web-flow
feat(auth): send PKCE code_challenge in updateUser when changing email (#1601)

## Summary

Under the PKCE flow, `updateUser({ email })` now generates a PKCE code
verifier and sends the corresponding `code_challenge` /
`code_challenge_method` in the request body, mirroring what `resend()`
and `getSSOSignInUrl` already do. This lets an email change started
under PKCE complete via `exchangeCodeForSession()`.

The fields are only added when an email is being changed, so no public
API surface or return type changes. Non-PKCE flows are unaffected (the
challenge is `null`).

## Outcome

implemented

## Reference

- supabase-js parity, following the already-shipped Dart `resend()` PKCE
work (SDK-1023).

## Compliance matrix

- `auth.session.update_user` → `implemented` (was
`partially_implemented`).

## Tests

- Added mock tests in `packages/gotrue/test/otp_mock_test.dart`: PKCE
email change includes the code challenge, non-email updates omit it, and
implicit flow omits it.

Closes SDK-1318

5 of 5 new or added lines in 1 file covered. (100.0%)

10 existing lines in 1 file now uncovered.

5087 of 5725 relevant lines covered (88.86%)

4.25 hits per line

Coverage Regressions

Lines Coverage ∆ File
10
0.0
0.0% packages/supabase_flutter/lib/src/supabase_passkey.dart
Jobs
ID Job ID Ran Files Coverage
7 supabase_flutter - 29413897983.7 15 Jul 2026 12:06PM UTC 10
79.31
GitHub Action Run
8 supabase - 29413897983.8 15 Jul 2026 12:07PM UTC 16
82.61
GitHub Action Run
9 gotrue - 29413897983.9 15 Jul 2026 12:09PM UTC 28
87.6
GitHub Action Run
3 postgrest - 29408971089.3 15 Jul 2026 10:45AM UTC 10
85.33
GitHub Action Run
5 functions_client - 29408971089.5 15 Jul 2026 10:43AM UTC 3
98.81
GitHub Action Run
7 realtime_client - 29408971089.7 15 Jul 2026 10:45AM UTC 11
90.13
GitHub Action Run
8 supabase_common - 29408971089.8 15 Jul 2026 10:43AM UTC 10
100.0
GitHub Action Run
2 storage_client - 29408971089.2 15 Jul 2026 10:45AM UTC 8
97.8
GitHub Action Run
9 yet_another_json_isolate - 29336359764.9 14 Jul 2026 01:26PM UTC 1
93.65
GitHub Action Run
Source Files on build 29413897983
  • Tree
  • List 97
  • Changed 10
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29413897983
  • 59d349e4 on github
  • Prev Build on main (#29408971089)
  • Next Build on main (#29415634238)
  • 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