Component: PEP — Boundary adapters
What it is: adapters that enforce at whatever boundary the integrator controls, when the
agent itself is not modifiable. Two ship today: the resource-server guard (RequireAgenticAuth
middleware) and the MCP connector proxy (agentic-auth-boundary mcp-proxy). The egress-proxy
mode is not available yet: agentic-auth-boundary egress-ca generates its certificate
authority, but the proxy itself does not run.
What it does: requires SDK-issued, per-call scoped tokens (and a transaction token for privileged calls) at the integrator's own boundary — building on the same PDP and verification helpers every other enforcement point uses.
Why "reduced-guarantee mode" must announce itself: not every boundary can support full
per-call verification (e.g. a legacy connector). The weakest mode — coarse outer
scoping plus revocation and edge audit only — is required to carry an explicit
guarantee_level field on every response and log line, so a reduced deployment is never
mistaken for full enforcement by whoever's relying on it.
The connector proxy as an OAuth protected resource (0.4.0)
With AGENTIC_AUTH_GATEWAY_OAUTH_RESOURCE_ENABLED, the connector proxy is what the MCP
authorization spec calls a protected resource. A standard MCP client is challenged with 401,
finds your IdP in the proxy's Protected Resource Metadata, signs the user in there, and calls
with the IdP's token. The proxy validates that token itself, starts a session through consent,
and then decides every tools/call exactly as before, forwarding a narrowed hop token. The
client's token never reaches the MCP server, and since 0.4.0 neither do the client's
credentials on relayed methods. How an MCP client's login becomes per-hop
authority follows the whole flow.