[BUG]: Expired GitHub PAT displays a generic HTTP error instead of an authentication warning

オープン
#404 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Prince-ES がすでに取り組んでいます。

2026年10月24日 から。

  • #415 @Prince-ES による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
58/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
github, javascript

調査の方向性

Start at the organization search flow and trace how GitHub API errors are handled, comparing an expired or invalid PAT response with the existing rate limit message. Add an authentication warning for invalid or expired tokens, then verify that searches display it while rate limit errors retain their current message.

索引モデルが issue の本文から書いたものです。

説明

bug
Bug Description

When a configured GitHub Personal Access Token (PAT) expires or becomes invalid, OrgExplorer fails to provide a clear error message explaining the authentication problem.

When the unauthenticated GitHub API rate limit of 60 requests per hour is exhausted, the application correctly displays:

GitHub API rate limit reached. Add a PAT in Settings for 5,000 req/hr.

However, when the configured PAT expires, searching for an organization results in a generic HTTP error instead of informing the user that their token may be expired or invalid.

Steps to Reproduce
  1. Open OrgExplorer and configure a GitHub PAT in Settings.
  2. Allow the PAT to expire or use an invalid/revoked token.
  3. Return to the organization search page.
  4. Search for any organization.
  5. Observe the error message displayed.
Logs and Screenshots

No response

Environment Details

No response

Impact

High - Major feature is broken

Code of Conduct
  • I have joined the Discord server and will post updates there
  • I have searched existing issues to avoid duplicates
主要言語
JavaScript
スター
53
フォーク
182
平均マージ
18分
マージ済み PR(30日)
2

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

AOSSIE-Org/OrgExplorer のほかの issue

AOSSIE-Org/OrgExplorer の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。