Skip to content

Unable to login with the latest v0.18.2 #945

@ocavue

Description

@ocavue

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions