MerginMaps / MerginMaps/mobile

User Not Warned About Offline Mode When SSO Login Expires in Mobile App

Open
#3,955 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth enhancement offline
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

  1. Log in to the mobile app using SSO authentication
  2. Allow SSO login to expire
  3. Put the device in offline mode (disable internet connection)
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.