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

supabase / supabase-flutter / 29075123453
87%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 06:57AM UTC
Jobs 9
Files 93
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

10 Jul 2026 06:54AM UTC coverage: 86.716% (+0.06%) from 86.655%
29075123453

push

github

web-flow
feat(auth): add OAuth server listGrants and revokeGrant methods (#1561)

## Summary

Adds `listGrants` and `revokeGrant` to the GoTrue OAuth server API
(`GoTrueOAuthApi`), mirroring supabase-js. These complement the
already-implemented authorization details / approve / deny methods.

- `GoTrueOAuthApi.listGrants()` → `Future<List<OAuthGrant>>` (GET
`/user/oauth/grants`)
- `GoTrueOAuthApi.revokeGrant(String clientId)` → `Future<void>` (DELETE
`/user/oauth/grants?client_id=...`)
- New `OAuthGrant` type (`client`, `scopes`, `grantedAt`)
- `OAuthAuthorizedClient` gains optional `clientUri` and `logoUri`,
matching the richer client payload returned by the server

## Outcome

implemented

## Reference

supabase-js: `_listOAuthGrants` / `_revokeOAuthGrant` in
`packages/core/auth-js/src/GoTrueClient.ts`

## Tests

Added unit tests for `OAuthGrant` parsing and integration tests for
listing and revoking grants. All OAuth API tests pass against the local
backend.

## Compliance matrix

- `auth.oauth_server.list_grants` → implemented
- `auth.oauth_server.revoke_grant` → implemented

Closes SDK-1273

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

4589 of 5292 relevant lines covered (86.72%)

4.04 hits per line

Jobs
ID Job ID Ran Files Coverage
7 gotrue - 29075123453.7 10 Jul 2026 06:59AM UTC 28
86.19
GitHub Action Run
8 supabase - 29075123453.8 10 Jul 2026 06:57AM UTC 14
80.61
GitHub Action Run
9 supabase_flutter - 29075123453.9 10 Jul 2026 06:57AM UTC 10
79.31
GitHub Action Run
2 yet_another_json_isolate - 29030706929.2 09 Jul 2026 03:46PM UTC 1
77.78
GitHub Action Run
9 supabase_common - 29030706929.9 09 Jul 2026 03:46PM UTC 10
87.85
GitHub Action Run
1 postgrest - 29030706929.1 09 Jul 2026 03:48PM UTC 10
84.92
GitHub Action Run
3 functions_client - 29030706929.3 09 Jul 2026 03:46PM UTC 3
98.81
GitHub Action Run
6 realtime_client - 29030706929.6 09 Jul 2026 03:48PM UTC 11
89.44
GitHub Action Run
5 storage_client - 29030706929.5 09 Jul 2026 03:48PM UTC 6
93.71
GitHub Action Run
Source Files on build 29075123453
  • Tree
  • List 93
  • Changed 9
  • Source Changed 8
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29075123453
  • 67fed239 on github
  • Prev Build on main (#29031762837)
  • Next Build on main (#29080142790)
  • 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