Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

There was an error signing you in. Please try again.

Open sato-hirokazu opened this issue 11 months ago • 5 comments

Before opening, please confirm:

Operating System

macOS

Kiro Version

不明

Bug Description

kiro IDEからgoogleでsign inしようとするとエラーになる

Steps to Reproduce

kiro IDE googleでのsign in エラーになる portalではsign in可能

Expected Behavior

不明

Conversation ID

No response

Additional Context

No response

sato-hirokazu avatar Dec 16 '25 03:12 sato-hirokazu

Hey @sato-hirokazu, Apologies for the delayed response. Could you please let us know if you're still experiencing this issue?

AnilMaktala avatar Feb 03 '26 19:02 AnilMaktala

Yes, I'm still encountering this problem. I can log in with Google in the local environment. However, when I connect to ssh, kiro suddenly pops up the login interface and asks me to sign in. And after I try again, it will show :"There was an error signing you in. Please try again." @AnilMaktala

EnciTang avatar Feb 05 '26 03:02 EnciTang

MacOS 14, M2 Pro. Latest Kiro version. Also encounter this issue. Please help

lijh-cn avatar Mar 27 '26 08:03 lijh-cn

I have encountered the same problem.

Image

zhnd avatar Apr 05 '26 03:04 zhnd

I am seeing the same Remote SSH sign-in issue.

Local Kiro sign-in works on Windows, but sign-in fails inside a Remote SSH session.

Environment:

  • Kiro version: 0.12.184
  • Client OS: Windows x64
  • Remote OS: Ubuntu 20.04.6 LTS x86_64
  • Remote GLIBC: 2.31
  • Kiro remote commit: 8971b963336635bcb23572df7df5b1193504d739
  • Remote node: v22.21.1
  • Login provider: Google

The Remote SSH connection itself works and the remote Kiro server starts successfully. The sign-in browser callback also reaches the remote auth server, but the token exchange fails.

Relevant logs:

Kiro Logs: PortalAuthServer: Listening on http://localhost:3128 PortalAuthProvider: Opening portal at https://app.kiro.dev/signin?... PortalAuthServer: Received callback for login_option=google PortalAuthProvider: Exchanging code for token (provider=Google) Authentication failed: AuthService client:

remoteexthost.log: PendingMigrationError: navigator is now a global in nodejs at node_modules/oauth4webapi at node_modules/openid-client

I also tried clearing the remote auth cache under ~/.kiro-server/data/User/globalStorage and restarting the remote Kiro server, but the issue persisted.

Image

jianxinke1-byte avatar May 13 '26 14:05 jianxinke1-byte