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

(SOLVED)Unable to login to Leetcode.com

Open BETTlM opened this issue 1 year ago • 17 comments

Whenever I click on sign in, I'm NOT able to see the option to choose cookies sign in at all, I don't even get that option. When I click on login, I get redirected to Leet code on my browser, and even after logging in from browser, the plugin gets struck on 'fetching user data' forever. Any fixes?

https://github.com/LeetCode-OpenSource/vscode-leetcode/assets/124069030/bbb45b7a-e734-4e3e-910c-799b5ce3ae39

BETTlM avatar May 19 '24 13:05 BETTlM

same problem

arroe99 avatar May 19 '24 18:05 arroe99

same problem

TMMXA avatar May 20 '24 00:05 TMMXA

I found a solution. You can download the previous version, log in and then update the plug-in.

WoDeXXZ avatar May 20 '24 05:05 WoDeXXZ

Thank you @WoDeXXZ for your help. Here's how to fix this issue:

Install the .vsix file (the previous version of available in releases) of v0.17.0, and open your extensions tab in VS code and click on three dots to install the vsix file. After that you can sign in using the Cookie methods. Feel free to ping me regarding any difficulties. Once again, thank you so much @WoDeXXZ

BETTlM avatar May 20 '24 08:05 BETTlM

Where can I download vsix file? Could anyone please give me a link

zhouzhongyuan avatar May 23 '24 06:05 zhouzhongyuan

https://marketplace.visualstudio.com/items?itemName=LeetCode.vscode-leetcode

Download from here “Version History”

zhouzhongyuan avatar May 23 '24 07:05 zhouzhongyuan

or, use this: https://github.com/LeetCode-OpenSource/vscode-leetcode/releases/download/v0.16.2/shengchen.vscode-leetcode-0.16.2.vsix

BETTlM avatar May 23 '24 17:05 BETTlM

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

theashggl avatar Jun 30 '24 13:06 theashggl

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

that was not my original issue, my issue was with the plugin mot nodejs. please refer the attachment i uploaded.

BETTlM avatar Jun 30 '24 17:06 BETTlM

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

that was not my original issue, my issue was with the plugin mot nodejs. please refer the attachment i uploaded.

Yes, the issue is with the plugin while logging in. I also have the same issue as shown in the video. I just attached the logs from VSCode which is showing when that happens.

theashggl avatar Jul 01 '24 08:07 theashggl

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

that was not my original issue, my issue was with the plugin mot nodejs. please refer the attachment i uploaded.

Yes, the issue is with the plugin while logging in. I also have the same issue as shown in the video. I just attached the logs from VSCode which is showing when that happens.

In that case, try regular sign-in with the latest version of the plugin. I tried installing the latest version of the plugin and tried logging in using google pop-up, the pop-up sign in works just fine when I'm using Archlinux, but does not work when im using windows. I have no idea why this issue arises.

For windows, I just use the older version and it seems to work fine

BETTlM avatar Jul 01 '24 15:07 BETTlM

For me, on Windows, it doesn't work at all. I am not aware but have got the splash of it that it occurs due to node version so could you post your node version in windows for me to check?

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

that was not my original issue, my issue was with the plugin mot nodejs. please refer the attachment i uploaded.

Yes, the issue is with the plugin while logging in. I also have the same issue as shown in the video. I just attached the logs from VSCode which is showing when that happens.

In that case, try regular sign-in with the latest version of the plugin. I tried installing the latest version of the plugin and tried logging in using google pop-up, the pop-up sign in works just fine when I'm using Archlinux, but does not work when im using windows. I have no idea why this issue arises.

For windows, I just use the older version and it seems to work fine

theashggl avatar Jul 02 '24 13:07 theashggl

For me, on Windows, it doesn't work at all. I am not aware but have got the splash of it that it occurs due to node version so could you post your node version in windows for me to check?

I don't think this works. I am still getting the same logs after using the previous version. Node.js v19.7.0 login: (node:15800) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency (Use node --trace-warnings ... to show where the warning was created)

that was not my original issue, my issue was with the plugin mot nodejs. please refer the attachment i uploaded.

Yes, the issue is with the plugin while logging in. I also have the same issue as shown in the video. I just attached the logs from VSCode which is showing when that happens.

In that case, try regular sign-in with the latest version of the plugin. I tried installing the latest version of the plugin and tried logging in using google pop-up, the pop-up sign in works just fine when I'm using Archlinux, but does not work when im using windows. I have no idea why this issue arises. For windows, I just use the older version and it seems to work fine

I installed node on windows and linux on the same day so this must be it

image

BETTlM avatar Jul 02 '24 14:07 BETTlM

@TMMXA I instaled the .vsix file and i still get the unfinite fetching user data!

Abderaouf-KHELFAOUI avatar Jul 08 '24 14:07 Abderaouf-KHELFAOUI

@TMMXA I instaled the .vsix file and i still get the unfinite fetching user data!

after gettin the vsix file, did you login with cookie or web?

BETTlM avatar Jul 14 '24 05:07 BETTlM

it worked for me i've just to go for an older version of leetcode as you said. thanks a lot!

Abderaouf-KHELFAOUI avatar Sep 04 '24 15:09 Abderaouf-KHELFAOUI

I sent LeetCode's customer service an email regarding their broken login. LeetCode wants me to send diagnostics and screenshots of the login problem. I will make time for troubleshooting their website. Right now, I am dealing with HackerRank and erroneous practice problems with unit tests which contradict the word problems.

natesire avatar Nov 16 '25 17:11 natesire