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

Abierto
#2,535 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ios, swift

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Swift
Estrellas
7.1k
Forks
743
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Dimillian/IceCubesApp

Todos los issues de Dimillian/IceCubesApp

Issues similares

Más issues de Swift

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.