Kiro IDE Linux OAuth deep-link handling bug
Before opening, please confirm:
- [x] I have searched for duplicate or closed issues
Operating System
Linux
Kiro Version
0.8.0
Bug Description
Description: On Fedora (and other Linux distributions), after clicking “Sign in with Google”, Kiro opens the browser correctly, and authentication completes, but the application remains stuck on:
“We will take you to your default web browser to sign in and bring you back when it's complete…”
The browser redirects to: kiro://kiro.kiroAgent/authenticate-success but Kiro IDE does not process the callback and remains on the sign-in screen.
Steps:
- Launch Kiro IDE 0.8.0 on Linux
- Choose Google sign-in
- Browser opens and login succeeds
- Browser tries to redirect with custom URI
- Kiro fails to handle the deep-link callback
Expected: The app should capture the callback and complete login.
Actual: App remains stuck with the waiting message.
Environment: Fedora GNU/Linux, default browser Firefox/Chrome x-scheme-handler/kiro registered correctly (confirmed via xdg-mime)
This appears to be a deep-link handling bug specific to the Linux build.
Please advise on a fix or ETA for addressing this OAuth callback issue.
End
Steps to Reproduce
Steps:
- Launch Kiro IDE 0.8.0 on Linux
- Choose Google sign-in
- Browser opens and login succeeds
- Browser tries to redirect with custom URI
- Kiro fails to handle the deep-link callback
Expected Behavior
Expected: The app should capture the callback and complete login.
Actual: App remains stuck with the waiting message.
Environment: Fedora GNU/Linux, default browser Firefox/Chrome x-scheme-handler/kiro registered correctly (confirmed via xdg-mime)
This appears to be a deep-link handling bug specific to the Linux build.
Conversation ID
No response
Additional Context
No response
I am facing this issue as well. Please help fix this. Was working fine all this while and suddenly the login flow is broken
Same problem, Github or Google login not working. The logs show that it gets a successful xdg-open call, but it doesn't move on. I can log in with my AWS Builder ID, but my subscription doesn't show up.
It doesn't matter if I'm using the AUR version or the downloaded version. The first occurrence of the problem cannot be related to a program update. It occurred within 24 hours of subscribing to my pro membership. I don't know if it's related.
+1 to this issue, I am working on creating a vscode extension which has a callback from AWS service post authentication, but it fails to get the callback(On vscode it works perfectly)
Same here. Google login and redirect callback fails.
If anyone using the tar.gz files, here's the workaround. the system is likey missing the protocal handler.
Here's how to fix it:
- Create a desktop entry so your browser knows to send the token back to the Kiro app. Run the following in your terminal:
Bash
nano ~/.local/share/applications/kiro.desktop
Paste this and replace /YOUR/PATH/TO/kiro with the actual path
[Desktop Entry]
Type=Application
Name=Kiro
Exec=/YOUR/PATH/TO/kiro --open-url %u
MimeType=x-scheme-handler/kiro;
NoDisplay=true
Terminal=false
Bash
Update the mime database
xdg-mime default kiro.desktop x-scheme-handler/kiro
update-desktop-database ~/.local/share/applications/
Hi, this Linux OAuth deep-link issue has been addressed. CLI 2.1 (Apr 24, 2026) introduced Device Flow authentication which works on all Linux environments without requiring the kiro: URI scheme or browser deep-linking.
Run kiro-cli login and it will display a URL + one-time code you can enter in any browser. See: https://kiro.dev/docs/cli/authentication/#device-flow-recommended
For the IDE, subsequent releases (0.9+) also improved OAuth handling. If you're still experiencing issues on the latest version, please open a new issue.
Closing as resolved.