You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When an user has a Google account logged in, if the session turns invalid (gets logged out remotely for example), many things break in microG and the user is not notified, only leaving the status of certain apps breaking as somewhat of a clue.
To Reproduce
Steps to reproduce the behavior:
Log in using a Google account
e.g. Google Maps works fine
Log out the device out of the Google account remotely via the web online account page (account.google.com)
Google Maps does not work properly anymore
No notification or other indication that the logged in account isn't a valid session anymore
Expected behavior
microG should automatically detect when a Google account gets logged out and remove the account and potentially warn the user.
Screenshots
If applicable, add screenshots to help explain your problem.
ale5000-git
changed the title
microG does not real gracefully with invalid sessions
microG does not behave gracefully with invalid sessions of Google accounts
Jan 5, 2025
GMS' behavior is to show a notification, re-prompting the user to enter their password. I intended for this functionality to be added when I wrote this code:
Log.w(TAG, "Your account credentials have expired! Please remove the account, then sign in again.")
returnnull
…but then I didn't get around to implementing it. What is needed in that place is some kind of UI flow that first tells users to reauthenticate using a notification (in the background case) or directly open that page (in the foreground case). Also the background / foreground decision might still be optimized, as so far I only was able to test it for the enterprise account cryptauth flow, which won't occur for all different types of call.
I just had this with Maps, was very confusing because I thought it was due to the latest signature checking changes, but it wasn't (my phone is Jan 2025 L4M build), but actually it was just because I updated my Google password. Maybe this could be a pinned topic?
Describe the bug
When an user has a Google account logged in, if the session turns invalid (gets logged out remotely for example), many things break in microG and the user is not notified, only leaving the status of certain apps breaking as somewhat of a clue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
microG should automatically detect when a Google account gets logged out and remove the account and potentially warn the user.
Screenshots
If applicable, add screenshots to help explain your problem.
System
Android Version: 14
Custom ROM: CalyxOS 5.14.2
microG version: 0.3.6
Additional context
I notice this as a issue every now and then in the Calyx channels.
The text was updated successfully, but these errors were encountered: