Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Authentication fails on Ubuntu: unable to open web browser for sign-in

Open icedevbug opened this issue 1 year ago • 2 comments

Operating System

Ubuntu 24.04

Kiro Version

202507152342-distro-linux-x64.deb

Bug Description

Description of the bug: When attempting to sign in to the Kiro editor on Ubuntu, the application correctly displays the "We will take you to your default web browser..." screen, but it fails to open the browser window. The application remains on the sign-in screen, and no authentication redirection occurs. The application does not crash and provides no error messages in standard output (stdout) or standard error (stderr).

Environment: Operating System: Ubuntu 24.04 LTS

Installation Method: sudo dpkg -i 202507152342-distro-linux-x64.deb

CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz

Default Web Browser: Chrome, but trie with others

Steps to Reproduce

Install the kiro editor on an Ubuntu system using the .deb package.

Launch the application.

Click on the "Sign in" button to start the authentication process.

Observe the application freezing on the "We will take you to your default web browser..." screen without opening the browser.

Expected Behavior

The application should open the default web browser to the Amazon/AWS sign-in page, allowing the user to authenticate and be redirected back to the editor.

Conversation ID

Note: The Conversation ID field is left blank as the authentication process fails before a conversation is established with the backend services. Therefore, a Conversation ID is not generated and cannot be provided.

Additional Context

Running the editor from the terminal does not show any error output when the failure occurs.

The system's xdg-open command works correctly when tested independently (e.g., xdg-open https://www.google.com).

The issue persists even after confirming correct file permissions and ownership of the chrome-sandbox file (as encountered with the universal build).

icedevbug avatar Jul 16 '25 05:07 icedevbug

the same problem with.

1,manjaro-i3, ok

text/html=google-chrome.desktop x-scheme-handler/http=google-chrome.desktop x-scheme-handler/https=google-chrome.desktop x-scheme-handler/about=google-chrome.desktop x-scheme-handler/unknown=google-chrome.desktop

2, endeavour-i3 .. kiro can not launch default browser!.

text/html=google-chrome.desktop x-scheme-handler/http=google-chrome.desktop x-scheme-handler/https=google-chrome.desktop x-scheme-handler/about=google-chrome.desktop x-scheme-handler/unknown=google-chrome.desktop

abcabc0330 avatar Jul 16 '25 06:07 abcabc0330

@icedevbug and @liqiang0330

This is because we require Ubuntu 24+ for a linux OS. Going to close this as a duplicate of https://github.com/kirodotdev/Kiro/issues/115 so that we can consolidate the feedback and confirmations if this is the root cause.

Can you all please follow that issue and update us there if this resolves it? Thank you!

cwomack avatar Jul 16 '25 22:07 cwomack