Improvement: Provide Immediate Feedback When SSO Authentication Fails in Browser

Aperta
#740 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Inizia dal flusso di accesso SSO del plugin Mergin Maps per QGIS e traccia il modo in cui vengono gestiti i risultati dell’autenticazione del browser e il timeout di due minuti. Riproduci un accesso al browser non riuscito o annullato, quindi verifica che il plugin riceva immediatamente il fallimento e mostri un errore chiaro invece di attendere il timeout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
45
Fork
21
Merge medio
3g 13h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MerginMaps/qgis-plugin

Tutte le issue di MerginMaps/qgis-plugin

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.