Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 403 failed issue #66

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

woung717
Copy link

@woung717 woung717 commented Mar 9, 2024

No description provided.

@leozhao21
Copy link

I tried it, when submit action is error

@dngurdl
Copy link

dngurdl commented Mar 23, 2024

I'll add that the proposed solution by @woung717 only works after a user has successfully logged in (have the csrftoken cookie as well as the SESSION_ID cookie set).

The no-browser in the middle approach has completely died out imo. A no-browser-cookie login is a valuable way to use leetcode-cli and there seems to have been a recent leetcode backend update that disables the no-browser-cookie approach.

Use-case that fails is 3rd party login (via Github for instance) without using cookies from a browser. I can confirm that 3rd party login w/o a browser cookie worked up untill Jan 2024 (and for the past 3 years). Now, the 3rd party login (Github in my case) fails with a 403 due to a cloudflare challenge issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants