diff --git a/src/cliproxy/auth-handler.ts b/src/cliproxy/auth-handler.ts index 6a3a5d80..d1d8840a 100644 --- a/src/cliproxy/auth-handler.ts +++ b/src/cliproxy/auth-handler.ts @@ -553,7 +553,7 @@ export async function triggerOAuth( return new Promise((resolve) => { // Spawn CLIProxyAPI with auth flag (and --no-browser if headless) const authProcess = spawn(binaryPath, args, { - stdio: ['ignore', 'pipe', 'pipe'], + stdio: ['inherit', 'pipe', 'pipe'], env: { ...process.env, CLI_PROXY_AUTH_DIR: tokenDir,