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

stacklok / toolhive / 23357551214

20 Mar 2026 06:41PM UTC coverage: 64.433% (-0.06%) from 64.494%
23357551214

push

github

web-flow
Fix missing resource parameter on cached token restore (#4292)

* Fix missing resource parameter on cached token restore

When restoring from cached tokens, token refreshes were using the
plain oauth2.Config.TokenSource, which drops the RFC 8707 resource
parameter. Use NewResourceTokenSource (exported) on the cached path,
matching the existing fresh OAuth flow behaviour.

* Move resource parameter logic into CreateTokenSourceFromCached

10 of 14 new or added lines in 5 files covered. (71.43%)

68 existing lines in 6 files now uncovered.

50154 of 77839 relevant lines covered (64.43%)

93.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.58
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

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