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

supabase / auth / 18932050571
69%

Build:
DEFAULT BRANCH: master
Ran 30 Oct 2025 06:40AM 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

30 Oct 2025 06:32AM UTC coverage: 68.101% (+0.09%) from 68.012%
18932050571

push

github

web-flow
feat(oauthserver): add OAuth client admin update endpoint (#2231)

## Summary

Adds a new admin endpoint to update existing OAuth client
configurations. This enables administrators to modify OAuth client
settings without having to delete and recreate clients.

  ## Changes

  ### New Endpoint
- **PUT** `/admin/oauth/clients/{client_id}` - Update OAuth client
configuration (admin only)

  ### Supported Update Fields
  - `redirect_uris` - Array of redirect URIs
- `grant_types` - Array of grant types (`authorization_code`,
`refresh_token`)
  - `client_name` - Human-readable client name
  - `client_uri` - Client application homepage URL
  - `logo_uri` - Client application logo URL

  ## Example Usage

  ```bash
  # Update client redirect URIs and name
curl -X PUT
https://your-project.supabase.co/admin/oauth/clients/{client_id} \
    -H "Authorization: Bearer {admin-token}" \
    -H "Content-Type: application/json" \
    -d '{
      "client_name": "Updated App Name",
      "redirect_uris": ["https://app.example.com/callback"]
    }'
```

120 of 143 new or added lines in 3 files covered. (83.92%)

13883 of 20386 relevant lines covered (68.1%)

79.18 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
32.55
3.05% internal/api/oauthserver/handlers.go
20
76.32
3.96% internal/api/oauthserver/service.go
Jobs
ID Job ID Ran Files Coverage
1 18932050571.1 30 Oct 2025 06:40AM UTC 167
68.1
GitHub Action Run
Source Files on build 18932050571
  • Tree
  • List 167
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6296a5a2 on github
  • Prev Build on master (#18910658377)
  • Next Build on master (#18963960317)
  • 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