Improvement: Provide Immediate Feedback When SSO Authentication Fails in Browser

Abierto
#740 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Comienza en el flujo de inicio de sesión mediante SSO del plugin de Mergin Maps para QGIS y sigue cómo se gestionan los resultados de la autenticación del navegador y el tiempo de espera de dos minutos. Reproduce un inicio de sesión en el navegador fallido o cancelado y, a continuación, verifica que el plugin recibe el fallo inmediatamente y muestra un error claro en lugar de esperar al tiempo de espera.

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

Descripción

Description
When a user attempts to sign in with SSO in the Mergin Maps plugin and the authentication in the browser fails, no information is sent back to the QGIS plugin about this unsuccessful authorization. Currently, the plugin waits for 2 minutes for a response and then the login fails without a specific error message about what went wrong in the browser. This creates a poor user experience as the user has to wait unnecessarily without knowing what's happening.

Environment
Staging

Application (+ app version, build, operating system)

  • QGIS version: 3.40.5-Bratislava
  • Plugin version: 2025.1.1
  • OS: macOS, Sequoia 15.5

Steps to reproduce

  1. Open QGIS and the Mergin Maps plugin
  2. Attempt to sign in using the SSO option
  3. In the opened browser window, fail to authenticate (wrong credentials, cancel the process, etc.)
  4. Observe that the plugin continues to wait for authentication with no feedback
  5. After approximately 2 minutes, the login finally fails in the plugin

Actual results

  • When SSO authentication fails in the browser, the plugin does not receive immediate notification
  • The plugin waits for the full timeout period (2 minutes) before showing a login failure
  • No specific error message indicating what went wrong during the browser authentication

Expected results

  • The plugin should receive immediate notification when SSO authentication fails in the browser
  • A clear error message should be displayed to the user explaining what went wrong
  • The plugin should not wait for the full timeout period if authentication has already failed

Screenshots or logs

https://github.com/user-attachments/assets/7a36ae64-6774-403c-9ad6-e3db68082ea2

Conclusion
Created by GitHub Copilot and supervised by a human test analyst.

Lenguaje dominante
Python
Estrellas
45
Forks
21
Merge medio
3 d 13 h
PR fusionados (30 d)
2

Preparar el entorno

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 MerginMaps/qgis-plugin

Todos los issues de MerginMaps/qgis-plugin

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.