gitkraken / gk-cli

GitKraken CLI Releases and Documentation
https://www.gitkraken.com
Other
122 stars 48 forks source link

[BUG] "gk login" does not respond after authenticating in browser #9

Closed riandrake closed 11 months ago

riandrake commented 11 months ago

Description

  1. Warp Terminal (I tried with iTerm 2 also)
  2. gk login
  3. login browser
  4. nothing happens

It just looks like the "gk login" process is still waiting for login after the browser said "you can now close the window"/

GitKraken CLI Version

1.0.8

OS Version

MacOS Ventura 13.5.2

Git Version

git version 2.39.2 (Apple Git-143)

Logs, Screenshots, Screen Captures, etc

2023 09 15 @ 09 48 55AM

2023 09 15 @ 09 49 03AM@2x

2023 09 15 @ 09 49 26AM

garethmsuarez commented 11 months ago

seeing the same issue on linux (ubuntu and popOS) using terminator.

JBUinfo commented 11 months ago

@riandrake The problem originates from the Safari browser (it might not function properly in other browsers). We're currently working on a fix, but in the meantime, could you try copying the URL (before it redirects) and pasting it into a different browser?

JBUinfo commented 11 months ago

@garethmsuarez Could you please tell us which browser you use?

garethmsuarez commented 11 months ago

My default browser is brave. Switched it to Firefox and it worked fine. Likely a browser security issue. Tried with chromium and everything is working as expected there as well.

FBoucher commented 11 months ago

I thought I had the same issue, it turns out it took forever (+2 mins) but works.

riandrake commented 11 months ago

@riandrake The problem originates from the Safari browser (it might not function properly in other browsers). We're currently working on a fix, but in the meantime, could you try copying the URL (before it redirects) and pasting it into a different browser?

Took a couple tries to grab the link in time, but it worked. Thanks.