Auth: Handle invalid account
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.
Nice! Great to see this fixed 😭😭😭
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:
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.