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

Open Beginner friendly
#416 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@SHIVIKA330 is already working on this.

Since Nov 12, 2026.

  • #452 by @SHIVIKA330 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github, javascript

Research direction

Start by locating the Connect PAT modal and the Settings flow that validates the same token; compare how each handles saving and invalid-token errors. Reproduce the steps with an invalid GitHub PAT, then confirm the modal rejects it and Settings no longer shows it as authenticated.

Written by the indexing model from the issue text.

Description

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
Dominant language
JavaScript
Stars
53
Forks
187
Avg merge
18m
Merged PRs (30d)
2

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AOSSIE-Org/OrgExplorer

All issues in AOSSIE-Org/OrgExplorer

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.