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

supabase / auth / 19097235750
69%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2025 09:31AM UTC
Jobs 1
Files 167
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

05 Nov 2025 09:23AM UTC coverage: 68.355% (+0.3%) from 68.101%
19097235750

push

github

web-flow
feat(oauthserver): add authorization list and revoke endpoints (#2232)

## Summary

This PR adds user-facing endpoints that allow users to view and revoke
their OAuth 2.1 client authorizations. This will allow users control
over which applications have access to their accounts.

  ## Changes

  ### New Endpoints

  #### `GET /user/oauth/authorizations`
  Lists all OAuth clients the authenticated user has authorized.

  **Response:**
  ```json
  {
    "authorized_clients": [
      {
        "client_id": "uuid",
        "client_name": "Example App",
        "client_uri": "https://example.com",
        "logo_uri": "https://example.com/logo.png",
        "scopes": ["read", "write"],
        "granted_at": "2025-10-29T12:00:00Z"
      }
    ]
  }
```

#### DELETE /user/oauth/authorizations?client_id={client_id}

Revokes authorization for a specific OAuth client.

 Actions performed:
  - Marks the user's consent as revoked
  - Deletes all active sessions associated with the OAuth client
  - Creates an audit log entry

  **Response**: 204 No Content on success

73 of 91 new or added lines in 3 files covered. (80.22%)

13997 of 20477 relevant lines covered (68.35%)

78.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
18
41.51
8.96% internal/api/oauthserver/handlers.go
Jobs
ID Job ID Ran Files Coverage
1 19097235750.1 05 Nov 2025 09:31AM UTC 167
68.35
GitHub Action Run
Source Files on build 19097235750
  • Tree
  • List 167
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cc640b27 on github
  • Prev Build on master (#19065361991)
  • Next Build on master (#19110535224)
  • 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