wire into next auth

This commit is contained in:
shamoon
2026-06-13 07:13:33 -07:00
parent d96799c985
commit 03a64b07f9
7 changed files with 118 additions and 8 deletions
+4 -1
View File
@@ -22,7 +22,9 @@ http://your-homepage-instance/api/mcp
## Authentication
If `HOMEPAGE_MCP_TOKEN` is set, MCP requests must include either of the following headers:
If Homepage auth is enabled with `HOMEPAGE_AUTH_ENABLED`, requests from an authenticated Homepage session are allowed.
For MCP clients that cannot use the browser session, set `HOMEPAGE_MCP_TOKEN`. Requests can then include either of the following headers:
```txt
Authorization: Bearer your-token
@@ -39,6 +41,7 @@ Example Docker Compose environment block:
```yaml
environment:
HOMEPAGE_MCP_ENABLED: "true"
HOMEPAGE_AUTH_ENABLED: "true"
HOMEPAGE_MCP_TOKEN: "change-me"
```