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

Not able to login to leetcode from plugin

Open shrawanraina opened this issue 2 years ago • 8 comments

Describe the bug Unable to login to leetcode

To Reproduce Steps to reproduce the behavior:

  1. Open IntelliJ
  2. Click on Leetcode Editor plugin
  3. Click on Sign In
  4. Error: Failed to send request

java.lang.Throwable: Request userStatus failed, status:403 at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202) at com.shuzijun.leetcode.plugin.manager.QuestionManager.getUser(QuestionManager.java:315) at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.getUser(NavigatorTabsPanel.java:176) at com.shuzijun.leetcode.plugin.window.NavigatorTabsPanel.lambda$new$0(NavigatorTabsPanel.java:103) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:246) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833)

Software versions(Help -> About)

  • Product: IntelliJ IDEA 2022.3.2 (Ultimate Edition)
  • Runtime version:17.0.5+1-b653.25 x86_64
  • VM:OpenJDK 64-Bit Server VM by JetBrains s.r.o.
  • OS: macOS Big Sur

shrawanraina avatar Oct 28 '23 17:10 shrawanraina

I'm running into the exact same issue just now.

deerHDE avatar Oct 29 '23 00:10 deerHDE

Same here not able to login.

rajvanshipradeep15 avatar Feb 06 '24 08:02 rajvanshipradeep15

I followed this link and I was able to login. https://github.com/shuzijun/leetcode-editor/blob/master/doc/LoginHelp.md

rajvanshipradeep15 avatar Feb 06 '24 08:02 rajvanshipradeep15

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

selva-krishnan avatar Mar 08 '24 14:03 selva-krishnan

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

+1

tech1savvy avatar Mar 10 '24 14:03 tech1savvy

@rajvanshipradeep15 - I never got the popup to enter the cookie information as shown in the screenshot. All I get is the "Failed to send request" in the console.

+1

akhilss99 avatar Mar 10 '24 21:03 akhilss99

@selva-krishnan @tech1savvy @akhilss99 This is a new issue, please refer to #697

shuzijun avatar Mar 11 '24 02:03 shuzijun

Hello guys, just make sure you have the right settings in the PHPSTORM settings_leetcode

Later when you click the signin button you should get the login popup, as shown in the screen shot. leetcode_login

rajvanshipradeep15 avatar Mar 17 '24 12:03 rajvanshipradeep15