Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Cannot Sign In with Kiro neither via Google nor Github

Open MuhammadAliSipra opened this issue 1 year ago • 24 comments

Before opening, please confirm:

Operating System

macOS Sequoia 15.4.1

Kiro Version

Latest

Bug Description

First it is redirecting me to https://prod.us-east-1.auth.desktop.kiro.dev/login Then redirects to http://localhost:49153/oauth/callback?code=******

After this, nothing is happening. Can't start working in Kiro

Steps to Reproduce

  1. Download the latest version of Kiro from https://kiro.dev/downloads/
  2. Install in Mac
  3. Sign in either via Google or Github

Expected Behavior

After downloading and installing, should be able to Sign In.

Conversation ID

No response

Additional Context

No response

MuhammadAliSipra avatar Aug 12 '25 10:08 MuhammadAliSipra

+1, currently stuck on this screen without it opening a browser window. I donwloaded the v0.2.0 for the IDE in my Ubuntu machine. I'm using Ubuntu 20.04

I have tried out using the following: Google Github AWS Organization Identity

I have tried setting Edge, and Chrome as my default browsers, neither worked The cancel button is also non-functional in this case

Version: 0.2.0
VSCode Version: 1.94.0
Commit: 6cce4083ea4cd0bde938e9f28256e9ded10c2a51
Date: 2025-08-11T01:13:00.353Z
Electron: 30.5.1
ElectronBuildId: undefined
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-139-generic
Image

AbuBakkarBinAkmal avatar Aug 12 '25 12:08 AbuBakkarBinAkmal

Same here. I was finally able to sign in with an Amazon Builder ID but it never asked for an invite code. I can't find anywhere to add it and I can't use the app until I do. I'm on MacOS 15 on an M1 Max. I used Pear Cleaner to remove it and reinstalled but it didn't clear the stored credentials and I'm right back where I started.

UPDATE: The issue seems to be Safari. Download Chrome and set it default browser. Sign in again and it should work as intended.

GrenadeApe avatar Aug 12 '25 13:08 GrenadeApe

+1, currently stuck on this screen without it opening a browser window. I donwloaded the v0.2.0 for the IDE in my Ubuntu machine. I'm using Ubuntu 20.04

I have tried out using the following: Google Github AWS Organization Identity

Image

I am also facing the same issue

Hariskhan2 avatar Aug 12 '25 18:08 Hariskhan2

Same here. Not working in Chrome or Safari but I got it to work in firefox

cjpthatsme avatar Aug 12 '25 19:08 cjpthatsme

+1 - I downloaded and installed Kiro, it opens and I select "Sign in with google". It directs me to a google login, then after I successfully login, it's trying to direct me to localhost and failing.

http://localhost:49153/oauth/callback?code=

Eambo avatar Aug 12 '25 20:08 Eambo

Hi @cjpthatsme, Thanks for raising this. Have you received the access code to log into KIRO?

AnilMaktala avatar Aug 13 '25 17:08 AnilMaktala

Hi @cjpthatsme, Thanks for raising this. Have you received the access code to log into KIRO?

From my experience if it helps, it doesn't even get that far. The flow is:

  • Open Kiro
  • Get the login selector.
  • Select GitHub/Google
  • Get a browser popup to login
  • Login with your selected method
  • Get redirected to http://localhost:49153/oauth/callback?code=, which displays an error

I managed to get signed up via Windows - the next step should be it prompting for the signup code.

It also doesn't matter that my account has already registered on another machine - the flow is broken.

Eambo avatar Aug 13 '25 19:08 Eambo

Quick update, I tried again today and it worked, no changes needed interestingly!

Eambo avatar Aug 15 '25 14:08 Eambo

Commenting Here to say that this issue isn't resolved on my end, and the behavior is the same. Looking forward to be able to use Kiro soon.I have received the kiro email letting me know that I'm off the waitlist + the code

Image

AbuBakkarBinAkmal avatar Aug 15 '25 14:08 AbuBakkarBinAkmal

same issue, also received the email "you're off the waitlist" with code

Image Image

jfieldson avatar Aug 15 '25 20:08 jfieldson

I changed localhost to 127.0.0.1 and it worked.

yoshijun avatar Aug 16 '25 13:08 yoshijun

I tried to use Kiro for the first trime and tried to login via github. The callback URI was localhost:49153. My browser kept giving an unresponsive http reponse. The reason was that rapportd, a MacOS process used for Handoff and Airdrop features, was also running in that port.

This were the current processes running on my Mac (m4 Mac mini):

COMMAND     PID                  USER   FD   TYPE             DEVICE SIZE/OFF NODE NAME
rapportd    723 nicolascarvajalchaves    8u  IPv4 0x43ce6bf08cfdc47b      0t0  TCP *:49153 (LISTEN)
rapportd    723 nicolascarvajalchaves    9u  IPv6  0x161af71241c630d      0t0  TCP *:49153 (LISTEN)
Kiro\x20H 85961 nicolascarvajalchaves   32u  IPv4 0xe6a64e352eb2046b      0t0  TCP localhost:49153 (LISTEN)

Once I killed the rapportd process I was able to log in into Kiro.

Steps to solve

  1. Run this command on your terminal:
lsof -i :49153
  1. Identify which PID besides Kiro is using the port. In my case it was 723
  2. Kill the process by running
kill <YOUR_PROCESS_ID>
  1. Try signing in again

This could be solved by dynamically looking for available ports in MacOS.

ncarvajalc avatar Aug 16 '25 17:08 ncarvajalc

Relates to #1925, #1920, #1332

ncarvajalc avatar Aug 16 '25 17:08 ncarvajalc

I ran into this issue as well. It looks like the Google sign-in/sign-up flow is still pointing to the development URL instead of the production site. Surprising to see this kind of oversight from AWS — especially at release stage

kennethhutw avatar Aug 17 '25 00:08 kennethhutw

I changed localhost to 127.0.0.1 and it worked.

It worked on my macOS too, thank you

jasonlin0720 avatar Aug 17 '25 15:08 jasonlin0720

I changed localhost to 127.0.0.1 and it worked.

This also worked for me, nothing else would, not even Kiro's troubleshooting steps. Thank you!

momon avatar Aug 18 '25 11:08 momon

I changed localhost to 127.0.0.1 and it worked.

confirming this worked (signing with GitHub - open in safari localhost -> changed to 127.0.0.1). Note that it must be done twice and it will follow through without a problem

the-guong avatar Aug 21 '25 06:08 the-guong

Tried to change localhost -> 127.0.0.1, issue still exists

No0key avatar Sep 14 '25 22:09 No0key

+1, facing the same problem:

Image

SharePointRadi avatar Oct 22 '25 11:10 SharePointRadi

@ncarvajalc I followed your instructions and it worked! Thank you so much.

https://github.com/kirodotdev/Kiro/issues/1949#issuecomment-3193789859

syuns2 avatar Oct 26 '25 13:10 syuns2