Skip to content

Unable to login using the default login method in vscode-insiders #966

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
yuzujr opened this issue Jul 17, 2024 · 3 comments · Fixed by #968
Closed

Unable to login using the default login method in vscode-insiders #966

yuzujr opened this issue Jul 17, 2024 · 3 comments · Fixed by #968

Comments

@yuzujr
Copy link

yuzujr commented Jul 17, 2024

🐛 Bug Report

Unable to login using the default login method in vscode-insiders

To Reproduce

After authorizing the login in the browser it tries to open vscode to complete the authentication,the URL is like "vscode://leetcode.vscode-leetcode?&cookie=your cookie".
If you are using vscode-insiders, nothing will happen when clicking the button or visiting the URL

Expected behavior

Successfully return to vscode to complete authentication login

Extension Output

None,Because the browser cannot return to vscode

Your Environment

  • os: Windows 11 Insider Preview 23H2
  • extension settings: default
  • nodejs version: v22.2.0
  • vscode version: 1.92.0-insider
  • extension version: 0.18.2

Solution

change the URL to "vscode-insiders://leetcode.vscode-leetcode?&cookie=your cookie" manually.
This way the computer can correctly identify the URL and open vscode.

@BETTlM
Copy link

BETTlM commented Jul 18, 2024

You can't login even if you use VS Code by the regular login method. Refer This:

#964

@yuzujr
Copy link
Author

yuzujr commented Jul 19, 2024

You can't login even if you use VS Code by the regular login method. Refer This:

#964

well, in fact I fix this by "change the URL to "vscode-insiders://leetcode.vscode-leetcode?&cookie=your cookie" manually.
This way the computer can correctly identify the URL and open vscode."
So sign in by "Leetcode Account" works for me.
I use Windows, situation might be different on Linux.
Where are you stuck by "Leetcode Account"?

@BETTlM
Copy link

BETTlM commented Jul 19, 2024

You can't login even if you use VS Code by the regular login method. Refer This:
#964

well, in fact I fix this by "change the URL to "vscode-insiders://leetcode.vscode-leetcode?&cookie=your cookie" manually. This way the computer can correctly identify the URL and open vscode." So sign in by "Leetcode Account" works for me. I use Windows, situation might be different on Linux. Where are you stuck by "Leetcode Account"?

after opening vscode from the browser, it will get struck on 'fetching user data' forever, and for that, this was the solution

tomoyachen added a commit that referenced this issue Jul 26, 2024
leozhao21 pushed a commit that referenced this issue Jul 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
ogin issue on VS Code Insiders #968
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants