Skip to content

LeetCode Session Expiry #39

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

Open
jaspinderkohli opened this issue Jul 17, 2023 · 1 comment
Open

LeetCode Session Expiry #39

jaspinderkohli opened this issue Jul 17, 2023 · 1 comment

Comments

@jaspinderkohli
Copy link
Contributor


name: LeetCode Session Token Refresh
about: Request to refresh the LeetCode session token for GitHub Actions workflow


Issue Description

Problem

After two weeks or roughy 13-14 days the action fails with the error Error: Request failed with status code 401
image

Current Configuration

LEETCODE_SESSION (which expires most probably has an expiry)

Potential Solutions

  1. Automate session refresh
  2. Check for expiration and notify
@yogeshvar
Copy link

@harpreetsingh91 That's a perfect solution. But for the automated session refresh, without storing the password. We can't get a new session in my understanding if you have any solutions to workaround this part. I will take up the automate session refresh :)

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

No branches or pull requests

2 participants