Skip to content

leetcode login problem #92

Open
Open
@jason--liu

Description

@jason--liu

Hi, first of all thanks for your great package.
Recently leetcode seems has changed its login mechanism.
When try to execute leetcode-try or leetcode-submit, the error message below

HTTP/1.1 403 Forbidden
Date: Thu, 26 Aug 2021 11:28:20 GMT
Content-Type: application/json
Content-Length: 38
Connection: keep-alive
X-Frame-Options: DENY
Vary: Cookie
Set-Cookie: LEETCODE_SESSION=""; Domain=.leetcode.com; expires=Thu, 01 Jan 1970 00:00:00 GMT; Max-Age=0; Path=/; SameSite=Lax
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
CF-Cache-Status: DYNAMIC
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=PyJPhKpOOoh8GoZgW2D1re9%2FLqeA8vR9249m0pWMxXjRX3n3tLhjymhWqeaTlTfuTrVCg4K9j1WGAkf1xwrLwfG6ho1Se7xIwe2m3elbSaFqzavBeXsON3qdw8R6og%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
X-Content-Type-Options: nosniff
Server: cloudflare
CF-RAY: 684cb74fcda730d4-SEA

{"error": "User is not authenticated"}

Is there any way to fix or workaround this issue? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions