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

Can't sign in with GitHub (2FA)

Open DonkeyBear opened this issue 2 years ago • 3 comments

🐛 Bug Report

I'm trying to using GitHub account to sign in, but the extension has nowhere to input authentication code, and then throw me a "login failed" message.

Expected behavior

Pop a window or something to let me input my authentication code when I'm using GitHub account to sign in.

Extension Output

login: (node:54475) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
pass: [ERROR] Login failed. Please make sure the credential is correct.

Your Environment

  • os: macOS 13.0.1(22A400)
  • extension settings: default setting
  • nodejs version: v16.17.0
  • vscode version: 1.76.0
  • extension version: v0.18.1

DonkeyBear avatar Mar 05 '23 12:03 DonkeyBear

I'm receiving the same bug on Ubuntu 22.04.2 LTS.

gsalyer avatar Mar 15 '23 18:03 gsalyer

Is there any solution?

leezng avatar Apr 07 '23 02:04 leezng

I log in on chrome using OTP and then logging in vscode does not require OTP again for some time. (I have not explicitly enabled 2FA.)

hrishikesh-deshpande avatar May 29 '23 20:05 hrishikesh-deshpande