Bug: Adding a second account is undiscoverable, and Deny leaves Sign in doing nothing

Đang mở
#2,535 2 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 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ios, swift
Lĩnh vực
authentication, mobile

Hướng nghiên cứu

Start by tracing the Add Account sign-in flow and its web authentication session, then inspect how OAuth redirects and session start failures are handled. The issue identifies error=access_denied as one failure case and relates the discoverability problem to #2468. Done means the account switch is explained and denying authorization or failing to start authentication gives feedback while allowing Sign in to work again.

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

Mô tả

Environment:

  • OS: macOS 27.0
  • IceCubesApp version: 2.1.6

Description

Adding a second account is hard to discover, and one wrong click leaves Add Account broken.

  1. With one account signed in, open Add Account, enter an instance, and click Sign in.
  2. The web view skips the login form and goes straight to "Authorization required" for the account already signed in. The only way to switch to a different username is a small right-arrow next to "Sign in as:", and nothing on the screen says it does that.
  3. Looking for a way to change accounts, I clicked Deny.
  4. After that, Sign in in Add Account does nothing. No web view, no error. Quitting and relaunching the app didn't fix it. Logging out of macOS did.

Suggestions:

  • Say what Sign in will do before the web view opens. For example: "You'll be signed in as @current. Use 'Sign in as' → to choose another account."
  • Handle error=access_denied from the OAuth redirect: show a message and reset the auth session so Sign in works again.
  • Show an error when Sign in fails to start a web authentication session, instead of doing nothing.

Related Issues

  • Search that this bugs don't already exist before creating it.

Related: #2468 (same confusion; the reporter found the arrow by accident).

Ngôn ngữ chính
Swift
Star
7.1k
Fork
743
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 Dimillian/IceCubesApp

Tất cả issue của Dimillian/IceCubesApp

Issue tương tự

Thêm issue về Swift

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.