mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-28 14:09:22 +02:00
When the app URL pointed to a remote private IP (e.g. 192.168.11.200), the CLI incorrectly used that IP as the callback host. The callback HTTP server runs on the CLI's local machine, but the browser redirect would target the remote server's IP on a random port that isn't open there — breaking the entire auth flow for remote self-hosted setups. Since openBrowser() always opens the browser on the same machine as the CLI, the callback must always target localhost. Closes #1056