MerginMaps / MerginMaps/qgis-plugin
Improvement: Provide Immediate Feedback When SSO Authentication Fails in Browser
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 44
- Forks
- 20
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 5
Description
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
- Open QGIS and the Mergin Maps plugin
- Attempt to sign in using the SSO option
- In the opened browser window, fail to authenticate (wrong credentials, cancel the process, etc.)
- Observe that the plugin continues to wait for authentication with no feedback
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Mergin Maps QGIS plugin's SSO sign-in flow and trace how browser authentication results and the two-minute timeout are handled. Reproduce a failed or cancelled browser login, then verify that the plugin receives the failure immediately and displays a clear error instead of waiting for the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- authentication, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100