Skip to content

[Bug]: No browser is opened for authentication #203

@MurzNN

Description

@MurzNN

Prerequisites

  • I have searched existing issues to avoid duplicates
  • I am using the latest version of CodeMie CLI
  • I have read the documentation

Bug Description

Installed the @codemieai/code package globally, and trying to set it up, but the setup flow got stuck on the "Opening browser for authentication..." step - no browser opened, no url is available to open it manually.

Steps to Reproduce

  1. Install the @codemieai/code package globally
  2. Run codemie setup
  3. Choose CodeMie SSO LLM provider, and the CodeMie organization URL: https://codemie.lab.epam.com
  4. See the output:
🔐 Authenticating via browser...
Opening browser for authentication...
  1. See that no browser was opened, and no URL is available to open it manually.

Expected Behavior

The browsers should be opened, or a URL should be provided on the command line.

Actual Behavior

I see an error:

❌ Setup failed: SSO authentication failed: Authentication timeout - no response received

CodeMie CLI Version

0.0.49

Which agent are you using?

Not applicable / General CLI

Which provider are you using?

AI/Run SSO

Model

No response

Node.js Version

v24.7.0

Operating System

Linux

Configuration (Redacted)

~/.codemie/codemie-cli.config.json is absent

Error Logs

Full output:

$ codemie setup

🔄 Running 3 migration(s)...

[001-config-rename] Rename config.json to codemie-cli.config.json
⊘ Skipped: no-old-config

[002-consolidate-sessions] Consolidate session storage under ~/.codemie/sessions/
⊘ Skipped: no-old-sessions

[003-remove-hooks-node] Remove legacy hooks configuration from ~/.gemini/settings.json
⊘ Skipped: file-not-found


╔════════════════════════════════════════════════════════════╗
║                                                            ║
║          Welcome to CodeMie CLI! 🎉                        ║
║                                                            ║
╚════════════════════════════════════════════════════════════╝

Thank you for choosing CodeMie! You're about to experience AI-powered
development with a complete ecosystem designed to make you more productive.

🚀 What Makes CodeMie Special:

  ✓ Seamless Setup - Get started in minutes with any AI provider
  ✓ Multiple Agents - Built-in CodeMie agents plus Claude Code, Gemini CLI, and more
  ✓ Complete Ecosystem - CLI, platform, and frameworks working together
  ✓ Full Visibility - All your conversations and analytics in one place

💡 Your CodeMie Ecosystem:

With CodeMie, you get more than just a CLI tool. Access the CodeMie Platform
to review your conversation history, track usage analytics, and gain insights
into your development patterns - all synchronized across your devices.

Let's configure your AI assistant.

? Where would you like to store this configuration? Global (~/.codemie/) - Available across all repositories
? Choose your LLM provider:
 CodeMie SSO - Enterprise SSO Authentication with centralized model management
? CodeMie organization URL: https://codemie.lab.epam.com

🔐 Authenticating via browser...

Opening browser for authentication...




❌ Setup failed: SSO authentication failed: Authentication timeout - no response received

Additional Context

The https://codemie.lab.epam.com url opens well in any browser that I have (Chromium, Firefox, etc).

Linux version: Ubuntu 25.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions