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

未关闭
#2,535 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Dimillian/IceCubesApp 的其他 Issue

查看 Dimillian/IceCubesApp 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。