Closed khizar-anjum closed 1 month ago
There is nothing wrong with the vscode extension. Please check if you use the correct cookie, which should be like overleaf_session2=s%......
Hey, thanks for your comment. I had logged in earlier using the same method as outlined in the README.md and the one you pointed out, but I got logged out last thursday on all my devices, and even though I was able to login with my browser with CAPTCHA, not the same was true for the extension.
Today (after 3-4 days of cooldown), I tried the same method and logged in successfully. So, I think there might be some kind of blocking/captcha being used by Overleaf. Just to keep that in mind for future uses and other users I guess.
Thanks for your help though! Closing the issue now.
Describe the bug
After using the "login with cookie" option for the default https://www.overleaf.com server login, the vscode responds with two consective notifications as "Login failed." and "Failed to get User ID.". Just to mention that I am using Cursor fork of vscode version 1.91.1. Cannot verify if this bug exists on the official vscode version too. Also, the console shows the following error:
workbench.desktop.main.js:497 [Extension Host] rejected promise not handled within 1 second: TypeError [ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING]: A dynamic import callback was not specified ...
More details are pasted in the developer logs below.Expected behavior
After getting the cookie as described in the README.md guide, it should login, and show all the projects and let the user edit them.
How To Reproduce
Environment
Developer Logs
I have pasted the developer logs here. Just changed the homefolder name for preserving privacy.