[BUG]: Connect PAT modal saves invalid GitHub tokens without validation

オープン 初心者向け
#416 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

2026年10月26日 から。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github, javascript

調査の方向性

まずConnect PATモーダルと、同じトークンを検証するSettingsのフローを見つけます。それぞれが保存と無効なトークンのエラーをどのように処理するかを比較します。無効なGitHub PATを使って手順を再現し、モーダルがそれを拒否し、Settingsに認証済みとして表示されなくなったことを確認します。

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

説明

bug
Bug Description

When a user tries to set an invalid GitHub Personal Access Token (PAT) through Settings, the application correctly rejects the token and displays an invalid-token error.

but when a user explores an organization without a PAT, the application displays a banner saying "standard data is being shown" and prompts the user to connect a PAT for complete analysis. Clicking the Connect PAT button opens an input box card where user is able to save an invalid token.
now if we navigate to setting, it'll show that token saved with the "Authentication" mark.

Steps to Reproduce
  1. Open OrgExplorer without configuring a valid GitHub PAT.
  2. Explore any valid GitHub organization.
  3. Locate the banner indicating that standard data is being displayed and a PAT is needed for complete analysis.
  4. Click Connect PAT
  5. Enter an invalid GitHub PAT.

Click Save and it accepts the token without displaying an invalid-token validation error. (navigating to settings now shows the invalid token validated and authenticated).

For comparison, open Settings and attempt to save the same invalid token.

Logs and Screenshots

https://github.com/user-attachments/assets/ab135947-2001-416c-b7bd-760d5e776e2f

Environment Details

No response

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
スター
48
フォーク
163
平均マージ
5日 2時間
マージ済み PR(30日)
31

環境構築

はじめの一歩

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

AOSSIE-Org/OrgExplorer のほかの issue

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

似ている issue

JavaScript の issue をもっと見る

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

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