Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
feat(deploy): allowlist the grant-existence sweep path on the workflow gateway
Diego Zacarias4fc33594b718
diff --git a/deploy/base/control-plane/configmaps.yaml b/deploy/base/control-plane/configmaps.yamlindex 205a8dc7d..fac2e94df 100644--- a/deploy/base/control-plane/configmaps.yaml+++ b/deploy/base/control-plane/configmaps.yaml@@ -415,6 +415,25 @@ data:proxy_set_header Authorization $http_authorization;}+ # OAuth grant-existence sweep (mcp-host → control-api), spec 06 mini-spec 13.+ # mcp-host polls whether its live per-user OAuth partitions still have a+ # grant and evicts the revoked ones. Mirrors the user-token block: same+ # gateway, POST-only, L7-scoped to this single path (DENY-by-omission of+ # every other control-api path preserved). Same control JWT+ # (typ:service, scope oauth:user-token) in Authorization; no x-service-token.+ # Read-only: control-api answers booleans only, never a token.+ location = /api/v1/mcp-oauth/grants/exists {+ limit_except POST {+ deny all;+ }+ proxy_pass http://control_api_upstream;+ proxy_set_header Host $host;+ proxy_set_header X-Real-IP $remote_addr;+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;+ proxy_set_header X-Forwarded-Proto $scheme;+ proxy_set_header Authorization $http_authorization;+ }+location = /api/v1/workflow-approvals/request {limit_except POST {deny all;