Skip to content
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

Unable to login with the latest v0.18.2 #945

Open
ocavue opened this issue May 19, 2024 · 13 comments
Open

Unable to login with the latest v0.18.2 #945

ocavue opened this issue May 19, 2024 · 13 comments

Comments

@ocavue
Copy link

ocavue commented May 19, 2024

🐛 Bug Report

A new login way was added in #944 by @leozhao21. However, I found it not working.

To Reproduce

  1. Open VSCode, and run Leetcode: Sign in Command
  2. https://leetcode.com/authorize-login/vscode/?path=leetcode.vscode-leetcode will be opened in the browser
  3. Click "Open Visual Studio Code" button
  4. VSCode shows a "Fetch user data" toast but it never finishs.
  5. Open VSCode "Output" and switch to the "LeetCode" tab, it shows the following information:
login: (node:64328) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
�[31merror�[39m:   DEBUG Invalid input for login

Expected behavior

I can login with this extension.

Extension Output

See my description above.

Your Environment

  • os: macOS
  • extension settings: N/A
  • nodejs version: v18.20.2
  • vscode version: v1.89.1
  • extension version: v0.18.2
@banger0319
Copy link

+1

@chancodea07
Copy link

same issue

(node:28300) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
[ERROR] You are not login yet?
(node:28492) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)

@zxc-moonwei
Copy link

+1

@BETTlM
Copy link

BETTlM commented May 20, 2024

@ocavue #946

@ankitson
Copy link

ankitson commented May 20, 2024

This also doesn't work if you are using VS Code Insiders or a fork of VS Code. The "Open VS Code" link in the browser after authorizing tries to open VS Code instead of insiders. The older login methods should be reverted and left in until the new version is fully tested.

@talaLiu
Copy link

talaLiu commented May 21, 2024

+1

2 similar comments
@xxinran
Copy link

xxinran commented May 21, 2024

+1

@rayinfinite
Copy link

+1

@BETTlM
Copy link

BETTlM commented May 23, 2024

This also doesn't work if you are using VS Code Insiders or a fork of VS Code. The "Open VS Code" link in the browser after authorizing tries to open VS Code instead of insiders. The older login methods should be reverted and left in until the new version is fully tested.

use the older version of the plugin, and login using cookies. Should work on vsc insiders too if im not wrong.
https://github.com/LeetCode-OpenSource/vscode-leetcode/releases/download/v0.16.2/shengchen.vscode-leetcode-0.16.2.vsix

@CelianInfo
Copy link

+1

2 similar comments
@huangyul
Copy link

+1

@Seabass2333
Copy link

+1

@WizardCell
Copy link

Same here

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

No branches or pull requests