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

stacklok / toolhive / 20924023999
58%

Build:
DEFAULT BRANCH: main
Ran 12 Jan 2026 03:05PM UTC
Jobs 1
Files 433
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

12 Jan 2026 03:01PM UTC coverage: 57.849% (+0.2%) from 57.691%
20924023999

push

github

web-flow
Add OAuth authorization server storage interfaces and types (#3245)

This package provides the storage layer for ToolHive's OAuth authorization
server, which acts as a centralized authentication proxy between MCP clients
and upstream identity providers.

The Storage interface composes fosite's OAuth interfaces with custom methods
for managing upstream tokens and pending authorization requests. Segregated
interfaces (PendingAuthorizationStorage, ClientRegistry, UpstreamTokenStorage)
allow components to depend only on the operations they need.

The UpstreamTokens type stores tokens obtained from upstream identity providers
with binding fields (Subject, ClientID) that are validated on lookup to
prevent cross-session attacks. PendingAuthorization tracks the state of
in-flight authorization requests while users authenticate with the upstream
IDP, including PKCE verifiers and OIDC nonces for security.

8 of 410 new or added lines in 3 files covered. (1.95%)

2 existing lines in 1 file now uncovered.

34018 of 58805 relevant lines covered (57.85%)

81.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
402
0.0
pkg/authserver/storage/mocks/mock_storage.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
54.0
-2.0% pkg/networking/port.go
Jobs
ID Job ID Ran Files Coverage
1 20924023999.1 12 Jan 2026 03:05PM UTC 433
57.85
GitHub Action Run
Source Files on build 20924023999
  • Tree
  • List 433
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20924023999
  • 35ac572d on github
  • Prev Build on main (#20924007570)
  • Next Build on main (#20925139454)
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