microg / microg/GmsCore

Google account remains stored after deletion and 2FA account is not working

Open
#1,031 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
14.6k
Forks
3.2k
Avg merge
12d 11h
Merged PRs (30d)
4

Description

I added two Google accounts via microG on Android 10, the second one needed 2FA but didn't come up as available account in the Google Drive app. So I removed both Google accounts, deleting and reinstalling the Google Drive application but although there was no Google account on the device anymore, the first Google account icon still came up in the Drive application without any functionality. I added the second Google account with 2FA again, that appeared as icon after wiping the app data but documents did not load. I added a third Google account without 2FA and got two accounts, the first one that is still stored somewhere although not listed under "accounts" in Android and the third without 2FA which is accessible in Drive.

Therefore, there is
a) a bug storing deleted Google account data somewhere on the device
b) currently no chance to use a Google account with 2-factor authentication under microG

Please see the files attached and fix both issues.

Google accounts listed in Google Drive
Google accounts set up on Android 10
bugreport-J9210_EEA-55.1.A.3.49-2020-03-20.zip

Contributor guide

No contributing guide indexed for this repository

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 reviewing the attached bug report and screenshots, then reproduce the account-removal and 2FA scenarios on Android 10 with Google Drive. Trace where microG account data and 2FA authentication state are handled. Done means deleted accounts no longer appear in Drive and a 2FA account can be added and load documents.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.