leetcode-sync icon indicating copy to clipboard operation
leetcode-sync copied to clipboard

LeetCode Session Expiry

Open jaspinderkohli opened this issue 2 years ago • 1 comments


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

jaspinderkohli avatar Jul 17 '23 12:07 jaspinderkohli

@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 :)

yogeshvar avatar Sep 20 '23 02:09 yogeshvar