MerginMaps / MerginMaps/mobile
User Not Warned About Offline Mode When SSO Login Expires in Mobile App
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 388
- Forks
- 87
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 20
Description
Description
When a user is logged in via SSO in the Mergin Maps mobile app and the SSO login expires while the user is offline, they are shown the SSO sign-in expired dialog. However, this dialog is not useful in offline mode since the user cannot sign in without an internet connection. Instead, the user should be warned that they are in offline mode and unable to sync their project with the server. This issue specifically affects the mobile application.
Environment
Staging
Application (+ app version, build, operating system)
- Actual Android app version: 2025.3.1
- Actual Android version: Android 14
Steps to reproduce
- Log in to the mobile app using SSO authentication
- Allow SSO login to expire
- Put the device in offline mode (disable internet connection)
- Attempt to sync a project with the server
Actual results
- User is shown the SSO sign-in expired dialog, which requires an internet connection to resolve
- User cannot proceed with syncing or understand why sync is not possible
Expected results
- User should be warned that they are in offline mode and cannot sync until they regain internet connection and re-authenticate
- A clear message should explain that they need to go online to renew their SSO authentication
Screenshots or logs
N/A
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 by reproducing the SSO expiry and offline sync steps on the mobile app using the listed Android versions. Trace the handling of expired SSO authentication during offline sync and identify where the current sign-in-expired dialog is selected. Done means offline users receive a clear warning that they must reconnect and re-authenticate before syncing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100