Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

Allow setting up proxy before sign in

Open DragonChong opened this issue 1 year ago • 5 comments

Feature Description

Before signing in with different authentication, proxy should be allowed to be setup. Otherwise, there will be error signing in.

Image

Use Case

I want to use Kiro in corporate network where corporate proxy is setup. Kiro should allow me to configure proxy before signing in.

Additional Context

No response

DragonChong avatar Jul 16 '25 00:07 DragonChong

I am experiencing IAM Identity Center authentication failures in my Windows 11 environment when connecting through a corporate proxy. Image

In addition to the errors shown in the screenshot, the following error messages appear in the logs:

2025-07-16 09:46:36.953 [error] Authentication failed: SSOOIDC client: Unexpected issue 2025-07-16 09:46:37.014 [error] Failed to close already existing auth server in AuthSSOServer.init(): %s

What concerns me is that the redirect domain after authentication differs from other authentication methods. While localhost and 127.0.0.1 should be functionally equivalent, IAM Identity Center authentication fails on the application side.

Comparison: Gmail/GitHub: http://localhost:3128/oauth/callback?code=XXX IAM Identity Center: http://127.0.0.1:65394/oauth/callback?code=XXX

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

I've met a similar problem like you. Our network is also under proxy.

zzsscc1001 avatar Jul 16 '25 07:07 zzsscc1001

I'm also having trouble with my proxy. But if you use a simple HTTP proxy, wouldn't it work if you put the proxy configuration in settings.json like in VSCode? As far as I see exthost.log with trace-level, it seems ProxyResolver is working. (Unfortunately I haven't been able to get Kiro to work in my env, due to other annoying issues with my proxy)

p0n avatar Jul 16 '25 17:07 p0n

I'm also behind a proxy, but I managed to pass the proxy by setting the user variable http_proxy with the following information: http://muyser:mypassword@my_proxy_url:my_proxy_port

blaisbr avatar Feb 13 '26 10:02 blaisbr

Thanks for raising this.

Closing this as stale -- it was filed against an older Kiro version and hasn't had activity in several months. If you're still seeing this on the current version, please open a new issue with your Kiro version, OS, and reproduction steps. To update, download from kiro.dev.

AnilMaktala avatar Sep 15 '26 19:09 AnilMaktala