[BUG]: Saved GitHub PAT is not revalidated on application reload

未关闭
#475 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@Prince-ES 已经在做这个了。

开始于 2026年11月22日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
55/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github, javascript

调研方向

The payload does not name the files. Start by finding where the saved GitHub token is restored on page load and where the Settings page reads its Authenticated status. Reproduce by saving a token, invalidating it, and reloading. Done when a reload with an expired or invalid token no longer shows Authenticated, and a valid token still shows the rate limit.

由索引模型根据 Issue 内容生成。

描述

bug
Bug Description

When a user saves a gitHub PAT, the application validates it and displays the available API rate limit. but the saved token is not revalidated when the application is reloaded.

If the PAT expires or becomes invalid after being saved, the application continues to restore the toke. As a result, the UI still displays an AUTHENTICATED status in Settings.

Steps to Reproduce
  1. open the app and add a valid pat.
  2. Let the pat expire.
  3. the settings page still show the Authenticated mark
Logs and Screenshots
Screenshot 2026-11-22 131805
Environment Details

OS: Windows 11
Browser: Google Chrome

Impact

Medium - Feature works but has issues

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
主要语言
JavaScript
星标
53
派生
187
平均合并
18 分钟
30 天内合并 PR
2

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AOSSIE-Org/OrgExplorer 的其他 Issue

查看 AOSSIE-Org/OrgExplorer 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。