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

stacklok / toolhive / 18522127868

15 Oct 2025 08:06AM UTC coverage: 46.828% (+0.04%) from 46.785%
18522127868

push

github

web-flow
Correctly construct resource_metadata per RFC 9728 Section 3.1 (#2203)

The resource_metadata parameter in WWW-Authenticate header must
contain the full URL to the metadata endpoint, formed by inserting
/.well-known/oauth-protected-resource between the host and path.

Examples:
- Resource: http://localhost:8080
Metadata: http://localhost:8080/.well-known/oauth-protected-resource

- Resource: http://localhost:9090/mcp
Metadata: http://localhost:9090/.well-known/oauth-protected-resource/mcp

This enables clients to discover OAuth metadata for the protected resource.

Fixes #2202

12 of 12 new or added lines in 1 file covered. (100.0%)

12 existing lines in 4 files now uncovered.

17703 of 37804 relevant lines covered (46.83%)

15.98 hits per line

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

81.62
/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