mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
* Fix consent form action for subpath mounting When a FastMCP server is mounted at a subpath (e.g., /api/v1), the consent form used a hardcoded absolute path (/consent/submit) that didn't include the mount prefix, causing 404 errors on submission. Changed the form to use an empty action (action="") which submits to the current URL, making it work correctly regardless of mount path. Also consolidated the consent endpoints to handle both GET and POST at /consent. Fixes #2380 * Update integration test to use /consent instead of /consent/submit |
||
|---|---|---|
| .. | ||
| auth | ||
| __init__.py | ||
| conftest.py | ||
| test_github_mcp_remote.py | ||