Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Failed to log in with Github/Google (Port 3128)

Open owen800q opened this issue 1 year ago • 33 comments

Operating System

window 10

Kiro Version

0.1.0

Bug Description

when click, it redirect me to http://localhost:3128/oauth/callback?code=xxxxxx&state=yyyy

After that, Kiro display error "There was an error signing you in. Please try again."

Image Image

Steps to Reproduce

  1. Open Kiro
  2. Click login with Github

Expected Behavior

Should no error prompt

Conversation ID

No response

Additional Context

No response

owen800q avatar Jul 15 '25 07:07 owen800q

@nathanjones Noted that my company network need to setup http proxy to access the network, but not sure it is related, but in vs code I can complete this setup from settings,json I tried to copy that settings.json into C:\Users\user\AppData\Roaming\Kiro\User

still not working

owen800q avatar Jul 15 '25 07:07 owen800q

I've run into this problem too, can you solve it?

ruiruiaixuexi avatar Jul 15 '25 07:07 ruiruiaixuexi

@ruiruiaixuexi Not yet, this issue still happen

owen800q avatar Jul 15 '25 08:07 owen800q

I have encountered the same issue, including Google and GitHub login

zy6p avatar Jul 15 '25 08:07 zy6p

I think my colleagues are all good, I don't know why

ruiruiaixuexi avatar Jul 15 '25 08:07 ruiruiaixuexi

@ruiruiaixuexi Does your working env have to use proxy to access internet?

owen800q avatar Jul 15 '25 08:07 owen800q

When using the company proxy, not only GitHub but also Google, AWS Builder, and IAM Identity Center return errors.

daniel-bfo101090 avatar Jul 15 '25 09:07 daniel-bfo101090

When using the company proxy, not only GitHub but also Google, AWS Builder, and IAM Identity Center return errors.

maybe need to add option to disable http2

owen800q avatar Jul 15 '25 09:07 owen800q

I am running into the same problem, google and github. osx sequoia 15.5

tshafer avatar Jul 15 '25 17:07 tshafer

In this day and age why are apps being released without an interface to set/manage proxies. Thanks for getting my hopes up with what seemed to be an awesome tool only to be let down because of proxy authentication.

philcart avatar Jul 15 '25 21:07 philcart

I've this problem too!

LeoX91 avatar Jul 16 '25 09:07 LeoX91

hi check latest issue i got a fix

pricisTrail avatar Jul 16 '25 20:07 pricisTrail

For anyone following this issue, can you please see if disabling extensions (and possibly themes) resolves the issue for you?

cwomack avatar Jul 16 '25 23:07 cwomack

I have confirmed that GitHub/Google login functionality became available in Ver.0.1.9. However, IAM Identity Center (Amazon Q Developer Pro subscription account) still cannot authenticate due to the reported error.

The following errors appear in Kiro Logs:

2025-07-17 10:05:30.525 [error] Authentication failed: SSOOIDC client: Unexpected issue
2025-07-17 10:05:30.608 [error] Failed to close already existing auth server in AuthSSOServer.init(): %s

I have verified this with extensions (and themes) disabled. I temporarily disabled the firewall during authentication, but the error still occurred. This issue does not occur when not going through the corporate proxy. I confirmed that it can be used temporarily by authenticating without the corporate proxy and then switching to the corporate proxy. However, it becomes unusable after some time, possibly due to periodic background re-authentication.

daniel-bfo101090 avatar Jul 17 '25 01:07 daniel-bfo101090

For anyone following this issue, can you please see if disabling extensions (and possibly themes) resolves the issue for you?

@cwomack May I know how to disable extensions if we have not yet login Kiro?

owen800q avatar Jul 17 '25 02:07 owen800q

Same issue still persist, I do have other VSCs, and I installed the deb with: sudo apt install ./202507180237-distro-linux-x64.deb

Chrome Version 138.0.7204.157 (Official Build) (64-bit) Ubuntu Version: Ubuntu 20.04.6 LTS Kernel Version: 5.15.0-139-generic Architecture: x86_64 CPU Model: AMD Ryzen 7 5825U with Radeon Graphics Memory (Total): 21Gi Kiro Version: 0.1.15 3bc33dd4c5eafbd5052855ecbf5c622c75d33ab8 x64 Timestamp: 2025-07-18T15:47:03+02:00

csjeney avatar Jul 18 '25 13:07 csjeney

@AnilMaktala Same issue here. How do you disable extensions if I cannot login?

Image

If I try with this, nothing happens

Kahl84 avatar Jul 19 '25 13:07 Kahl84

When using the company proxy, not only GitHub but also Google, AWS Builder, and IAM Identity Center return errors.

maybe need to add option to disable http2

How do I disable HTTP/2, and did disabling resolve the issue?

xiaojuesi avatar Jul 19 '25 17:07 xiaojuesi

In Terminal, I used the following command to disable extensions and then connected to the server:

kiro --disable-extensions However, the error still persists.

xiaojuesi avatar Jul 19 '25 17:07 xiaojuesi

For me the terminal doesn't open at all

Kahl84 avatar Jul 19 '25 18:07 Kahl84