microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.66k stars 1.73k forks source link

com.google.android.apps.authenticator2 App won't login with Google Account #2135

Open ExTBH opened 10 months ago

ExTBH commented 10 months ago

Affected app Name: Google Authenticator Package id: com.google.android.apps.authenticator2

Describe the bug App doesn't login with google account.

To Reproduce Steps to reproduce the behavior:

  1. Open app
  2. Click Sign in
  3. Select Account
  4. Tap Allow
  5. Now it wont log in and ask for account again

Expected behavior App logs in and sync.

System Android Version: EMUI 13.0.1 Custom ROM:

microG microG Core version: 0.3.0.233515-hw microG Self-Check results: All Ticked

ExTBH commented 10 months ago

I've got a log of the error https://paste.c-net.org/AcquiredTamper

and i think its the one at 2023-12-28 17:26:21.314

it gets logged after tapping Allow at Step 4

ExTBH commented 10 months ago

decompiling the app i found this, think its the issue?

// 
// Decompiled by Procyon v0.6.0
// 

package com.google.android.gms.audit;

import com.google.android.gms.common.api.internal.TaskApiCall$Builder;
import com.google.android.gms.auth.account.data.InternalGoogleAuthServiceClient$$ExternalSyntheticLambda1;
import com.google.android.gms.common.api.internal.TaskApiCall;
import com.google.android.gms.tasks.Task;
import com.google.android.gms.common.api.Api$ApiOptions;
import com.google.android.gms.common.api.GoogleApi$Settings;
import android.content.Context;
import com.google.android.gms.common.api.Api$AbstractClientBuilder;
import com.google.android.gms.common.api.Api;
import com.google.android.gms.common.api.GoogleApi;

public final class InternalAuditClient extends GoogleApi
{
    private static final Api API;
    private static final Api$AbstractClientBuilder clientBuilder;

    static {
        API = new Api("Audit.API", clientBuilder = new InternalAuditClient$1());
    }

    public InternalAuditClient(final Context context) {
        super(context, InternalAuditClient.API, null, GoogleApi$Settings.DEFAULT_SETTINGS);
    }

    public final Task logAuditRecords(final LogAuditRecordsRequest logAuditRecordsRequest) {
        final TaskApiCall$Builder builder = TaskApiCall.builder();
        builder.methodKey = 6901;
        builder.execute = new InternalGoogleAuthServiceClient$$ExternalSyntheticLambda1(logAuditRecordsRequest, 1);
        return this.doWrite(builder.build());
    }
}
p0lygun commented 10 months ago

Same issue

System

  • Android Version: 12
  • Stock ROM: oneui

microG

  • microG Core version: 0.3.0.233515
  • microG Self-Check results: All Ticked
Goodwu commented 10 months ago

Same issue here.

System Android Version: 13 ROM: lineageos 20

microG microG Core version: 0.3.0.233515 microG Self-Check results: All Ticked

Lost-Entrepreneur439 commented 9 months ago

Also experiencing the same issue

Android version: 13 (January 2024 security patch) ROM: crDroid 9.13 Device: Samsung Galaxy S6 (SM-G920W8) microG version: 0.3.0.233515 microG self-check: all ticked

ale5000-git commented 9 months ago

I confirm that this problem is fixed by #2156

ale5000-git commented 9 months ago

The PR is merged so the preblem will be fixed in the next version of microG.