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

supabase / supabase-flutter / 28999966848 / 4
87%
main: 87%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 07:03AM UTC
Files 9
Run time 0s
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

09 Jul 2026 06:54AM UTC coverage: 84.568%. Remained the same
28999966848.4

push

github

web-flow
refactor(gotrue): drop jwt_decode dependency in favor of dart_jsonwebtoken (#1565)

## What

Removes the `jwt_decode` dependency from `gotrue`. Its two remaining
uses were both unauthenticated payload decodes, which are now handled by
the existing `decodeJwt` helper (built on `dart_jsonwebtoken`, already a
dependency).

## Changes

- `session.dart` — `Jwt.parseJwt(accessToken)['exp']` →
`decodeJwt(accessToken).payload.exp`
- `gotrue_mfa_api.dart` — `Jwt.parseJwt(session.accessToken)` →
`decodeJwt(session.accessToken).payload.claims` (keeps `aal`/`amr`
lookups working)
- `gotrue_client.dart` — dropped the now-unused `jwt_decode` import
- `client_test.dart` — updated assertions to use
`decodeJwt(...).payload.exp`
- `pubspec.yaml` — removed `jwt_decode: ^0.3.1`

Signature verification via `dart_jsonwebtoken`'s `JWT.verify` is
untouched. Behavior is preserved: both replaced uses were plain payload
decodes without verification.

`dart pub get` resolves cleanly (no `jwt_decode` in the lock) and `dart
analyze lib test` reports no issues.

Closes SDK-475.

548 of 648 relevant lines covered (84.57%)

4.98 hits per line

Source Files on job postgrest - 28999966848.4
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 28999966848
  • b1157efa on github
  • Prev Job for on main (#28933384010.7)
  • Next Job for on main (#29003395872.)
  • 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