GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Auth: Handle invalid account

Open DaVinci9196 opened this issue 8 months ago • 3 comments

https://github.com/microg/GmsCore/issues/2731#issuecomment-2571748442 Based on @fynngodau’s solution, use notifications to inform users whether their account has expired. Users can choose to log in again or log out. Choosing to re-login will be handled based on the newly added reauth interface.

DaVinci9196 avatar Apr 22 '25 08:04 DaVinci9196

Nice! Great to see this fixed 😭😭😭

lucasmz-dev avatar Apr 26 '25 23:04 lucasmz-dev

One thing I noticed is that reauth is not possible if Android ID has changed (i.e. when microG data has been deleted, but accounts were kept). This should be relatively easy to fix, but I don't think it needs to be solved in this PR. :slightly_smiling_face:

fynngodau avatar May 16 '25 17:05 fynngodau

When testing this PR, I removed some specific devices from the Security tab in myaccount. A few days later, unrelated to this PR, I was not able to sign in (or reauth) from microG until I changed Android ID; perhaps the device was locked out in a way microG is unable to recover from? The server response was only a generic error.

fynngodau avatar May 16 '25 17:05 fynngodau