docs(env): add required NEXTCLOUD_PUBLIC_ISSUER_URL to login_flow sample

Round-8 review: env.sample.oauth-multi-user omitted NEXTCLOUD_PUBLIC_ISSUER_URL,
which configuration.md marks required for login_flow — a user working from the
template alone would hit the "Login URL points to localhost" failure. Add it
(with a troubleshooting pointer) and give it + NEXTCLOUD_MCP_SERVER_URL a
"REQUIRED: PUBLIC URLs" section header for consistency with the rest of the file.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Chris Coutinho
2026-06-14 12:59:43 +02:00
co-authored by Claude Opus 4.8
parent dadd71ec83
commit af3e2371e6
+6 -1
View File
@@ -30,8 +30,13 @@ MCP_DEPLOYMENT_MODE=login_flow
NEXTCLOUD_OIDC_CLIENT_ID=<your-client-id>
NEXTCLOUD_OIDC_CLIENT_SECRET=<your-client-secret>
# MCP Server URL (for OAuth redirects)
# ===== REQUIRED: PUBLIC URLs =====
# Public URL of the MCP server (used as the token audience and for OAuth redirects).
NEXTCLOUD_MCP_SERVER_URL=http://localhost:8000
# Public URL of Nextcloud as the user's browser sees it (for Login Flow v2
# browser redirects). Omitting it causes the "Login URL points to localhost"
# failure — see docs/login-flow-v2.md#troubleshooting.
NEXTCLOUD_PUBLIC_ISSUER_URL=https://nextcloud.example.com
# ===== REQUIRED: APP-PASSWORD STORAGE =====
# Required for login_flow — per-user Nextcloud app passwords are stored here