Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#416 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

@Prince-ES đang làm issue này rồi.

Từ ngày 26/10/2026.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
72/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, javascript
Lĩnh vực
authentication, frontend

Hướng nghiên cứu

Trước tiên, hãy tìm modal Connect PAT và luồng Settings xác thực cùng token đó. So sánh cách mỗi bên xử lý việc lưu và lỗi token không hợp lệ. Thực hiện lại các bước với GitHub PAT không hợp lệ, sau đó xác nhận modal từ chối token đó và Settings không còn hiển thị token là đã xác thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
JavaScript
Star
48
Fork
163
Merge trung bình
5 ngày 23 phút
Pull request đã merge (30 ngày)
32

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/OrgExplorer

Tất cả issue của AOSSIE-Org/OrgExplorer

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.