Title: verify_agent_authorization: origin-only authorized_agents entries match any path under AdCP 3.3 · Issue #1908 · adcontextprotocol/adcp-client-python · GitHub
Open Graph Title: verify_agent_authorization: origin-only authorized_agents entries match any path under AdCP 3.3 · Issue #1908 · adcontextprotocol/adcp-client-python
X Title: verify_agent_authorization: origin-only authorized_agents entries match any path under AdCP 3.3 · Issue #1908 · adcontextprotocol/adcp-client-python
Description: Problem AdCP 3.3 changes how an authorized_agents[].url entry in adagents.json matches an agent (DR-0023, documented by adcontextprotocol/adcp#8939): Origin-only entry: an entry whose canonical form has the root path and no query (https:...
Open Graph Description: Problem AdCP 3.3 changes how an authorized_agents[].url entry in adagents.json matches an agent (DR-0023, documented by adcontextprotocol/adcp#8939): Origin-only entry: an entry whose canonical for...
X Description: Problem AdCP 3.3 changes how an authorized_agents[].url entry in adagents.json matches an agent (DR-0023, documented by adcontextprotocol/adcp#8939): Origin-only entry: an entry whose canonical for...
Opengraph URL: https://github.com/adcontextprotocol/adcp-client-python/issues/1908
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"verify_agent_authorization: origin-only authorized_agents entries match any path under AdCP 3.3","articleBody":"## Problem\n\nAdCP 3.3 changes how an `authorized_agents[].url` entry in `adagents.json` matches an agent ([DR-0023](https://github.com/adcontextprotocol/adcp/blob/main/governance/decisions/DR-0023-agent-identity-is-an-origin.md), documented by adcontextprotocol/adcp#8939):\n\n- **Origin-only entry:** an entry whose canonical form has the root path and no query (`https://agent.example.com` or `https://agent.example.com/`) authorizes the agent at that origin, whatever its path. For example, it authorizes `https://agent.example.com/mcp`.\n- **Entry with a path:** it still matches that canonical URL only.\n\n`verify_agent_authorization` (`src/adcp/adagents.py`) still uses exact matching. Under 3.3 it will refuse agents that the server and the TypeScript SDK accept.\n\n## Counterparts\n\n- Server: adcontextprotocol/adcp#9011 (closes adcontextprotocol/adcp#8943).\n- TypeScript SDK: adcontextprotocol/adcp-client#3710 (closes adcontextprotocol/adcp-client#3695).\n\n## Ask\n\nMatch those two PRs:\n- **Scope:** apply origin-only matching only when 3.3 or later is negotiated or targeted. 3.2 and earlier keep exact matching.\n- **Canonicalization:** use the shared AdCP rules on both sides: lowercase the scheme and host, drop default ports, remove dot segments and fragments, and decode unreserved percent-encoding.\n- **Not origin-only:** an entry with a query, even an empty `?`.\n- **Userinfo:** a URL carrying `user:pass@` matches nothing.\n- **Trailing root dot:** remove one trailing dot from a DNS host. A host with two or more trailing dots matches nothing.\n- **Supply-path verification:** stays exact until 4.0.\n\nOne open point is being settled on adcontextprotocol/adcp#9011: what happens when an exact entry and an origin-only entry both match one agent. Follow whatever that PR settles on.\n","author":{"url":"https://github.com/bokelley","@type":"Person","name":"bokelley"},"datePublished":"2026-11-14T15:02:26Z","url":"https://github.com/adcontextprotocol/adcp-client-python/issues/1908"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:1f1f87ac-1694-e653-b588-86ee12430c27 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 838E:785A9:710C77:913ABF:6B00E314 |
| html-safe-nonce | 70b03236d5f0cff899b42d7b5fb6c1dbb53a4341db0d08b055bdd0c26b98414a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzhFOjc4NUE5OjcxMEM3Nzo5MTNBQkY6NkIwMEUzMTQiLCJ2aXNpdG9yX2lkIjoiODMwNjA4NDg0ODA2MjIyNzIyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | db60a0e839ed1b783f0f22261078c2072a2031bc1d96aeccc02e50de520cd980 |
| hovercard-subject-tag | issue:6391689075 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/adcontextprotocol/adcp-client-python/1908/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fd637c4552ab73e56b2b597e9855eb056809032002f391cd3a2da5b0fdbb9b34/adcontextprotocol/adcp-client-python/issues/1908 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd637c4552ab73e56b2b597e9855eb056809032002f391cd3a2da5b0fdbb9b34/adcontextprotocol/adcp-client-python/issues/1908 |
| og:image:alt | Problem AdCP 3.3 changes how an authorized_agents[].url entry in adagents.json matches an agent (DR-0023, documented by adcontextprotocol/adcp#8939): Origin-only entry: an entry whose canonical for... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bokelley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 27088b6977484d0d3321d9a11c907c6d6637b315cfa359ef7952dbf6292f9b14 |
| turbo-cache-control | no-preview |
| go-import | github.com/adcontextprotocol/adcp-client-python git https://github.com/adcontextprotocol/adcp-client-python.git |
| octolytics-dimension-user_id | 221690821 |
| octolytics-dimension-user_login | adcontextprotocol |
| octolytics-dimension-repository_id | 1090305973 |
| octolytics-dimension-repository_nwo | adcontextprotocol/adcp-client-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1090305973 |
| octolytics-dimension-repository_network_root_nwo | adcontextprotocol/adcp-client-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 624179fb8b88d26ba5bba08894eb60a1c5a1d93d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width