Improvement: Provide Immediate Feedback When SSO Authentication Fails in Browser

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

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

評価

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

調査の方向性

Mergin Maps QGIS プラグインの SSO サインインフローから開始し、ブラウザー認証の結果と 2 分間のタイムアウトがどのように処理されるかを追跡します。ブラウザーでのログインの失敗またはキャンセルを再現し、その後、タイムアウトを待つのではなく、プラグインが直ちに失敗を受け取り、明確なエラーを表示することを確認します。

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

説明

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.

主要言語
Python
スター
45
フォーク
21
平均マージ
3日 13時間
マージ済み PR(30日)
2

環境構築

はじめの一歩

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

MerginMaps/qgis-plugin のほかの issue

MerginMaps/qgis-plugin の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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