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

stacklok / toolhive / 21395997626
60%

Build:
DEFAULT BRANCH: main
Ran 27 Jan 2026 11:56AM UTC
Jobs 1
Files 474
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

27 Jan 2026 11:48AM UTC coverage: 60.175% (-0.001%) from 60.176%
21395997626

push

github

web-flow
Dedupe redirect URL validation for authserver + allow app-specific redirect URLs (#3451)

* Add shared redirect URI validation to pkg/oauth

Consolidate redirect URI validation logic into a shared utility that
supports configurable security policies per RFC 6749/8252:

- RedirectURIPolicyStrict: HTTPS + HTTP loopback only (for DCR)
- RedirectURIPolicyAllowPrivateSchemes: Also allows custom schemes
  like cursor://, vscode:// for native app clients (RFC 8252 §7.1)

Update DCR and upstream modules to use the shared validator,
eliminating duplicate validation logic.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

* Allow private-use URI schemes in DCR for native app clients

Change DCR redirect URI validation from Strict to AllowPrivateSchemes
policy, enabling native applications (Cursor, VS Code, etc.) to
register with custom scheme redirect URIs like cursor://callback.

This aligns with RFC 8252 Section 7.1 which specifies private-use URI
schemes as a valid redirect mechanism for native apps. Security is
maintained through PKCE (required for public clients).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

---------

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

26 of 28 new or added lines in 3 files covered. (92.86%)

6 existing lines in 1 file now uncovered.

38266 of 63591 relevant lines covered (60.18%)

76.86 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
92.0
pkg/oauth/redirect.go

Uncovered Existing Lines

Lines Coverage ∆ File
6
75.47
-5.66% pkg/secrets/keyring/keyctl_linux.go
Jobs
ID Job ID Ran Files Coverage
1 21395997626.1 27 Jan 2026 11:56AM UTC 474
60.18
GitHub Action Run
Source Files on build 21395997626
  • Tree
  • List 474
  • Changed 6
  • Source Changed 2
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21395997626
  • 6b77a81e on github
  • Prev Build on main (#21394812002)
  • Next Build on main (#21396017644)
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