fleet-memory/hindsight-api/hindsight_api/extensions
DK09876 e407f4bc55
feat: add extension hooks for root routing and error headers (#470)
* feat: add OAuth extension hooks for MCP authentication

Add extension points in core that allow cloud extensions to support
OAuth 2.1 (RFC 9728 / RFC 7591) for MCP server authentication:

- HttpExtension.get_root_router() for well-known endpoint mounting
- AuthenticationError.headers for WWW-Authenticate propagation
- MCP middleware forwards auth error headers to clients

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: document get_root_router and AuthenticationError.headers

Add documentation for the new extension points introduced in the
OAuth extension hooks commit.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Remove OAuth-specific wording from extension docs

Make the AuthenticationError headers example generic instead of
OAuth-specific, since these are general-purpose extension hooks.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 10:50:03 +01:00
..
builtin doc: prepare doc for 0.4.10 (#325) 2026-02-09 11:42:37 +01:00
__init__.py Add bank-scoped validation to engine and HTTP handlers (#454) 2026-03-02 09:55:21 +01:00
base.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
context.py feat: support for other text and vector search pg extensions (#355) 2026-02-12 14:13:04 +01:00
http.py feat: add extension hooks for root routing and error headers (#470) 2026-03-03 10:50:03 +01:00
loader.py feat: extensions (#54) 2025-12-22 11:05:23 +01:00
mcp.py feat: add TenantExtension auth to MCP endpoint (#286) 2026-02-06 12:28:05 -07:00
operation_validator.py Add bank-scoped validation to engine and HTTP handlers (#454) 2026-03-02 09:55:21 +01:00
tenant.py feat: add extension hooks for root routing and error headers (#470) 2026-03-03 10:50:03 +01:00