eigent icon indicating copy to clipboard operation
eigent copied to clipboard

[BUG] Google sign-up succeeds in system Chrome, but the dev-launched browser window remains unauthenticated

Open alloevil opened this issue 1 day ago • 7 comments

What version of eigent are you using?

8ff8c86

System information

  • OS: [e.g., macOS 26 ]
  • Node/npm: [e.g., Node v18.x, npm 11.7.0]
  • Command: npm run dev
  • Browsers:
    • System browser: Google Chrome [version]
    • Dev-launched window: the browser window opened automatically by npm run dev

Problem description

Steps to Reproduce

  1. git clone https://github.com/eigent-ai/eigent.git
  2. cd eigent
  3. npm install
  4. npm run dev
  5. In the auto-opened browser window, click “Sign up”
  6. Choose Google sign-up; the flow opens in local Chrome
  7. Complete registration successfully in Chrome
  8. Return to the dev-launched browser window

Expected Behavior After completing Google registration, the dev-launched browser window should reflect the authenticated session and show the logged-in state.

Actual Behavior

  • Local Chrome shows the account as signed in.
  • The dev-launched browser window still shows the user as not logged in.

Frequency Consistently reproducible.

log

npm run dev

npm warn Unknown project config "shamefully-hoist". This will stop working in the next major version of npm.

[email protected] dev npm run clean-cache && vite

npm warn Unknown env config "shamefully-hoist". This will stop working in the next major version of npm. npm warn Unknown project config "shamefully-hoist". This will stop working in the next major version of npm.

[email protected] clean-cache rimraf node_modules/.vite

Forced re-optimization of dependencies vite v5.4.21 building for development...

watching for file changes... vite v5.4.21 building for development...

watching for file changes...

build started...

build started... (x2)

VITE v5.4.21 ready in 189 ms

➜ Local: http://localhost:5173/ ➜ Network: use --host to expose ➜ press h + enter to show help ✓ 1 modules transformed. dist-electron/preload/index.mjs 24.98 kB │ gzip: 8.19 kB │ map: 13.20 kB built in 219ms. ✓ 359 modules transformed. dist-electron/main/index.js 0.25 kB │ gzip: 0.15 kB │ map: 0.10 kB dist-electron/main/index-BnvrGUpP.js 303.30 kB │ gzip: 64.20 kB │ map: 725.20 kB dist-electron/main/index-y86S5JnP.js 446.46 kB │ gzip: 78.25 kB │ map: 514.42 kB built in 776ms. try port 9222

DevTools listening on ws://127.0.0.1:9222/devtools/browser/81fce821-50ea-47d2-b801-3ad0a9b8d9f6 [info] [MAIN] Waiting for profile initialization... [info] [CDP BROWSER] Created CDP profile directory at /Users/allo/.eigent/browser_profiles/cdp_profile_9222 [info] [CDP BROWSER] Chrome DevTools Protocol enabled on port 9222 [info] [CDP BROWSER] CDP profile directory: /Users/allo/.eigent/browser_profiles/cdp_profile_9222 [info] [STORAGE] Main app userData: /Users/allo/Library/Application Support/eigent [info] [MAIN] Profile initialization completed [info] [DEVTOOLS] Installing React DevTools extension... [info] [DEVTOOLS] Successfully installed extension: [object Object] [info] [PROTOCOL] Registered localfile protocol on both default and main_window sessions [info] .eigent directory structure ensured [info] [PROJECT BROWSER WINDOW] Creating BrowserWindow which will start Chrome with CDP on port 9222 [info] [PROJECT BROWSER WINDOW] Current user data path: /Users/allo/Library/Application Support/eigent [info] [PROJECT BROWSER WINDOW] Command line switch user-data-dir: /Users/allo/.eigent/browser_profiles/cdp_profile_9222 [info] [COOKIE SYNC] No tool_controller partition found, WebView will start fresh [info] [PROJECT BROWSER] Creating WebViews with partition: persist:user_login [info] [PROJECT BROWSER] WebViewManager initialized with webviews Current version: 0.0.77 Update config path: undefined User data path (where config lives): /Users/allo/Library/Application Support/eigent [DEV] setFeedURL: { provider: 'github', owner: 'eigent-ai', repo: 'eigent', releaseType: 'release', channel: 'latest-arm64' } Checking for update [info] Pre-checking if dependencies need to be installed... [info] Installation check result: { needsInstallation: true, versionExists: false, versionMatch: false, uvExists: true, bunExists: true, installationCompleted: false, venvExists: true, venvPath: '/Users/allo/.eigent/venvs/backend-0.0.77' } [info] Installation needed - resetting initState to carousel while preserving auth data [78763:0115/143418.839422:ERROR:CONSOLE(1)] "Request Autofill.enable failed. {"code":-32601,"message":"'Autofill.enable' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1) [78763:0115/143418.839445:ERROR:CONSOLE(1)] "Request Autofill.setAddresses failed. {"code":-32601,"message":"'Autofill.setAddresses' wasn't found"}", source: devtools://devtools/bundled/core/protocol_client/protocol_client.js (1) Update for version 0.0.77 is not available (latest version: 0.0.77, downgrade is disallowed). [info] DOM ready - updating initState to carousel while preserving auth data [info] Window content loaded, starting dependency check immediately... [info] Window is ready, processing queued protocol URLs... [info] [DEPS INSTALL] version file not exist, will create new file [info] [DEPS INSTALL] version changed, prepare to reinstall uv dependencies... { currentVersion: '0.0.77', savedVersion: 'none', reason: 'version file not exist' } start install dependencies start install dependencies [] version: 0.0.77 [info] BACKEND: [DEPS INSTALL] Resolved 205 packages in 10ms [info] BACKEND: [DEPS INSTALL] Audited 195 packages in 0.28ms install dependencies end true [info] [DEPS INSTALL] Installing hybrid_browser_toolkit dependencies... [info] [DEPS INSTALL] Installing hybrid_browser_toolkit npm dependencies... [info] [DEPS INSTALL] Using system npm for installation [warn] [DEPS INSTALL] npm install stderr: npm warn Unknown env config "shamefully-hoist". This will stop working in the next major version of npm.

[info] [DEPS INSTALL] npm install: up to date, audited 319 packages in 1s

46 packages are looking for funding

[info] [DEPS INSTALL] npm install: run npm fund for details

found 0 vulnerabilities

[info] [DEPS INSTALL] npm install completed successfully [info] [DEPS INSTALL] Building hybrid_browser_toolkit TypeScript... [info] [DEPS INSTALL] npm build output: npm warn Unknown env config "shamefully-hoist". This will stop working in the next major version of npm.

[info] [DEPS INSTALL] npm build:

[email protected] build npx tsc

[info] [DEPS INSTALL] npm build output: npm warn Unknown env config "shamefully-hoist". This will stop working in the next major version of npm.

[info] [DEPS INSTALL] TypeScript build completed successfully [info] [DEPS INSTALL] Installing Playwright browsers... [info] before-quit [info] quit python_process.pid: undefined Webview 2 destroyed successfully Webview 5 destroyed successfully Webview 4 destroyed successfully Webview 1 destroyed successfully Webview 3 destroyed successfully Webview 6 destroyed successfully Webview 7 destroyed successfully Webview 8 destroyed successfully [info] window-all-closed [info] All cleanup completed, exiting...

Additional context

No response

alloevil avatar Jan 15 '26 06:01 alloevil