diff --git a/env.sample.oauth-multi-user b/env.sample.oauth-multi-user index 3ef9962e..f21c4bdb 100644 --- a/env.sample.oauth-multi-user +++ b/env.sample.oauth-multi-user @@ -30,8 +30,13 @@ MCP_DEPLOYMENT_MODE=login_flow NEXTCLOUD_OIDC_CLIENT_ID= NEXTCLOUD_OIDC_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