leetcode.vim icon indicating copy to clipboard operation
leetcode.vim copied to clipboard

Leetcode session cookie not found. Please login in browser.

Open roachsinai opened this issue 5 years ago • 7 comments

Login in leetcode.cn both firefox and chromium. Tried set g:leetcode_browser both firefox and chromium, always get the info Leetcode session cookie not found. Please login in browser. when try to signin.

roachsinai avatar Apr 21 '20 17:04 roachsinai

Login leetcode.com and let g:leetcode_browser = firefox get error:

cannot get the progress
cannot get progress. Please relogin in your browser.

roachsinai avatar Apr 21 '20 17:04 roachsinai

You should set the browser by let g:leetcode_browser = 'firefox'.Because the value is a string!

SpringHan avatar May 01 '20 08:05 SpringHan

@SpringHan Thanks for your reply! My setting is exactly: let g:leetcode_browser = 'firefox'. Sorry for my typo here!

roachsinai avatar May 01 '20 10:05 roachsinai

image

And had login leetcode on firefox.

roachsinai avatar May 01 '20 10:05 roachsinai

Oh,I know.And I also met the problem.I think maybe the dependence is wrong or the source codes can't use now.

SpringHan avatar May 04 '20 06:05 SpringHan

I am having the same issue M1 mac

Tried firefox and chrome

aap01 avatar Apr 06 '23 18:04 aap01

@roachsinai

I had this issue for a while and finally solved it
steps:

  1. Login with email & password in leetcode(avoid login with google or anyother social site in leetcode)
  2. Setup let g:leetcode_browser = 'chrome'

Here is the output

image

aap01 avatar Apr 08 '23 10:04 aap01