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

stacklok / toolhive / 21443807791

28 Jan 2026 03:14PM UTC coverage: 60.301% (-0.04%) from 60.338%
21443807791

push

github

web-flow
fix(vmcp): vmcp creates authz middleware (#3474)

Authz configuration is currently in the vMCP server's spec: https://github.com/stacklok/toolhive/blob/jerm/2026-01-27-fix-authz-dropped/pkg/vmcp/config/config.go#L180

However, this config is ignored and not applied resulting in cedar policies not being enforced.

This PR updates NewIncomingAuthMiddleware so it correctly enforces the cedar policies.
---------

Signed-off-by: Jeremy Drouillard <jeremy@stacklok.com>

33 of 41 new or added lines in 1 file covered. (80.49%)

38 existing lines in 5 files now uncovered.

38834 of 64400 relevant lines covered (60.3%)

77.26 hits per line

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

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