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

オープン
#2,535 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

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

調査の方向性

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.

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

説明

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).

主要言語
Swift
スター
7.1k
フォーク
743
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Dimillian/IceCubesApp のほかの issue

Dimillian/IceCubesApp の issue をすべて見る

似ている issue

Swift の issue をもっと見る

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

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