vscode-gitlens icon indicating copy to clipboard operation
vscode-gitlens copied to clipboard

Authentication doesn't work with GitHub Codespaces

Open Malix-Labs opened this issue 1 year ago • 4 comments

Description

When authenticating to Git Kraken, the vscode extension doesn't fetch the code while the auto-redirect correctly but happens, but it redirects so fast that the code can't be copied, super annoying.

  1. Open a GitHub Codespace
  2. Try to Sign-in

GitLens Version

v14.8.1

VS Code Version

Version: 1.85.2 Commit: 8b3775030ed1a69b13e4f4c628c612102e30a681 Date: 2024-01-18T06:35:55.911Z (4 wks ago) Browser: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36

Git Version

No response

Logs, Screenshots, Screen Captures, etc

  1. image
  2. image
  3. image

Malix-Labs avatar Feb 16 '24 17:02 Malix-Labs

Hello @Malix-off, thanks for reporting this. For now, you can log in by downgrading to version 14.6.1 from Extensions > GitLens Settings > Install Another Version...

Screenshot 2024-02-22 at 11 11 09 AM

jkelroy avatar Feb 22 '24 18:02 jkelroy

Thanks @jkelroy, I guess it has been reported before? Which versions does it affect? Can you link the bug tracking issue?

Malix-Labs avatar Feb 22 '24 18:02 Malix-Labs

@Malix-off this is the only open issue for this. It affects version 14.7-14.8.2.

One other workaround is that in the current version, the code (code=) can be copied from the URL to provide to GitLens.

jkelroy avatar Feb 22 '24 23:02 jkelroy

Indeed, that's what I was currently doing

Kind of a blocker for newcomers though

Malix-Labs avatar Feb 22 '24 23:02 Malix-Labs

@Malix-off this has now been addressed in the pre-release. Can you check if this is now working as expected for you?

You can switch to the pre-release edition of GitLens, by clicking on the "Switch to Pre-Release version of this extension" from the Extensions view.

image

jkelroy avatar Mar 01 '24 17:03 jkelroy

It's fixed, gg ❤

Malix-Labs avatar Mar 02 '24 10:03 Malix-Labs

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Apr 07 '24 05:04 github-actions[bot]