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

supabase / supabase-flutter / 21247813553 / 1
80%
main: 80%

Build:
DEFAULT BRANCH: main
Ran 22 Jan 2026 12:12PM UTC
Files 70
Run time 1s
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

22 Jan 2026 12:06PM UTC coverage: 80.342% (+0.4%) from 79.962%
21247813553.1

push

github

web-flow
fix(auth): fix getClaims() crash with asymmetric JWTs on first call (#1300)

Fixed a crash in getClaims() that occurred when verifying JWTs signed
with asymmetric algorithms (RS256, ES256) on the first call.

The issue was that _jwks was force-unwrapped (_jwks!) before it was
initialized. On the first call to getClaims() with an asymmetric JWT
containing a 'kid' header, _jwks would be null, causing a null check
operator error.

The fix passes an empty JWKSet when the cache is null:
_jwks ?? JWKSet(keys: []). This allows _fetchJwk() to handle the first
call gracefully by fetching from the server and populating the cache.

Changes:
- Updated getClaims() to use null-coalescing operator instead of force-unwrap
- Added test case to reproduce and verify the fix for SDK-627
- Enhanced documentation to clarify JWKS caching behavior for asymmetric JWTs

Linear: SDK-627

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>

3380 of 4207 relevant lines covered (80.34%)

2.71 hits per line

Source Files on job 21247813553.1
  • Tree
  • List 70
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 21247813553
  • 207ed5f7 on github
  • Prev Job for on main (#20716397421.1)
  • Next Job for on main (#21250088460.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