GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Unable to login to Google Account

Open AlternativeZero opened this issue 7 years ago • 16 comments

I'm not sure why but I'm unable to login to a Google account, I attached my logcat to see if this problem can be fixed.

logcat.txt

AlternativeZero avatar Apr 25 '19 03:04 AlternativeZero

Duplicate of #756

ImAnnoying2 avatar Apr 26 '19 08:04 ImAnnoying2

Might be because the latest chrome breaks the login in microG as it system app replaces the built in webview? (it's like that for the Vanced Microg)

Would one of you like to try this https://www.reddit.com/r/Vanced/comments/bhkq6q/are_you_having_issues_getting_past_login/ Which has been proven effective by multiple people.(Again, YouTube Vanced MicroG)

MrDodojo avatar Apr 26 '19 21:04 MrDodojo

@MrDodojo I don't have Chrome installed, I do have Bromite WebView But I'm not sure if that is the cause of the problem.

AlternativeZero avatar Apr 26 '19 22:04 AlternativeZero

Yes it's very likely an issue with Bromite/WebView/Chromium, several users reported rolling back to v72 fixed the issue, so they could re-update to v74 afterwards.

Nanolx avatar May 02 '19 10:05 Nanolx

Yes it's very likely an issue with Bromite/WebView/Chromium, several users reported rolling back to v72 fixed the issue, so they could re-update to v74 afterwards.

Does version 73 also having the problem? Thanks

benyaminl avatar May 05 '19 12:05 benyaminl

No, v73 us fine, too.

Am 5. Mai 2019 14:03:41 MESZ schrieb Benyamin Limanto [email protected]:

Yes it's very likely an issue with Bromite/WebView/Chromium, several users reported rolling back to v72 fixed the issue, so they could re-update to v74 afterwards.

Does version 73 also having the problem? Thanks

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/microg/android_packages_apps_GmsCore/issues/770#issuecomment-489419996

-- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

Nanolx avatar May 05 '19 12:05 Nanolx

No, v73 us fine, too. Am 5. Mai 2019 14:03:41 MESZ schrieb Benyamin Limanto [email protected]: …

Yes it's very likely an issue with Bromite/WebView/Chromium, several users reported rolling back to v72 fixed the issue, so they could re-update to v74 afterwards. Does version 73 also having the problem? Thanks -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: #770 (comment) -- Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

I want to try bromite web view. Does you know any open source privacy conscious browser that support shortcut key Using web view?

benyaminl avatar May 06 '19 01:05 benyaminl

I may add to this, that it's indded not just Bromite/Bromite WebView, but confirmed (by users) that it's also when using Chrome/Chromium as WebView provider, starting with v74.

@mar-v-in this should be marked as critical issue before the next release.

GmsAuthenticator believes the Token has expired, a bit more details extracted from logcat (XXX'ed-out tokens, IDs and Account):

05-09 16:31:33.468  7132  7165 D GmsAuthenticator: getAuthToken: Account {[email protected], type=com.google}, oauth2:https://www.googleapis.com/auth/googleplay, Bundle[{androidPackageName=com.android.vending, callerPid=16276, callerUid=10123, notifyOnAuthFailure=true}]
05-09 16:31:33.480  7132  7165 D GmsAuthManager: peekAuthToken: com.android.vending:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:oauth2:https://www.googleapis.com/auth/googleplay
05-09 16:31:33.481  7132  7165 D GmsAuthenticator: getAuthToken: XXXX.XXXXXXX-XXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXX_XXX_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXX_X_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXX_XXXXXXXXXXXXXXXXXXXXXXXXXXX-X_XXXXXXXXXXXXXXXXXXXXXXXX
05-09 17:17:15.019  7132  7132 D GmsAuthLoginBrowser: pageFinished: https://accounts.google.com/
05-09 17:17:15.265  7132 19431 D GmsAuthLoginBrowser: Terms of service accepted. (who cares?)
05-09 17:17:16.027  7132 19431 D GmsAuthLoginBrowser: JSBridge: showView
05-09 17:17:16.389  7132  7132 D GmsAuthLoginBrowser: pageFinished: https://accounts.google.com/EmbeddedSetup/identifier?source=android&xoauth_display_name=Android%20Device&lang=de&cc=de&langCountry=de_de&hl=de-DE&tmpl=new_account&flowName=EmbeddedSetupAndroid
05-09 17:17:42.689  7132 19431 D GmsAuthLoginBrowser: JSBridge: getDroidGuardResult: ["XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"]
05-09 17:17:44.520  7132 19431 D GmsAuthLoginBrowser: JSBridge: showView
05-09 17:17:50.500  7132 19431 D GmsAuthLoginBrowser: JSBridge: getDroidGuardResult: ["XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"]
05-09 17:17:56.339  7132  7132 D GmsAuthLoginBrowser: pageFinished: https://accounts.google.com/
05-09 17:18:41.253  7132  7132 D GmsAuthLoginBrowser: pageFinished: https://accounts.google.com/EmbeddedSetup/signinconsent?source=android&xoauth_display_name=Android%20Device&lang=de&cc=de&langCountry=de_de&hl=de-DE&tmpl=new_account&flowName=EmbeddedSetupAndroid&TL=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&cid=1

05-09 17:21:38.315  7132 16187 D GmsAuthenticator: getAuthToken: Account {[email protected], type=com.google}, oauth2:https://www.googleapis.com/auth/googleplay, Bundle[{androidPackageName=com.android.vending, callerPid=16276, callerUid=10123, notifyOnAuthFailure=true}]
05-09 17:21:38.324  7132 16187 D GmsAuthManager: token present, but expired
05-09 17:21:38.339  7132 16187 D GmsHttpFormClient: -- Request --
05-09 17:21:38.339  7132 16187 D GmsHttpFormClient: accountType=HOSTED_OR_GOOGLE&androidId=XXXXXXXXXXXXXXXX&app=com.android.vending&client_sig=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&callerPkg=com.google.android.gms&callerSig=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&device_country=DE&Email=XXXXXXXXXXXXXXXX%40gmail.com&google_play_services_version=1518000&is_called_from_account_manager=1&_opt_is_called_from_account_manager=1&lang=de_DE&operatorCountry=DE&sdk_version=28&service=oauth2%3Ahttps%3A%2F%2Fwww.googleapis.com%2Fauth%2Fgoogleplay&source=android&system_partition=1
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: java.io.IOException: Error=BadAuthentication
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at org.microg.gms.common.HttpFormClient.request(HttpFormClient.java:90)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at org.microg.gms.auth.AuthRequest.getResponse(AuthRequest.java:189)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at org.microg.gms.auth.AuthManager.requestAuth(AuthManager.java:211)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at org.microg.gms.auth.loginservice.AccountAuthenticator.getAuthToken(AccountAuthenticator.java:96)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at android.accounts.AbstractAccountAuthenticator$Transport.getAuthToken(AbstractAccountAuthenticator.java:246)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at android.accounts.IAccountAuthenticator$Stub.onTransact(IAccountAuthenticator.java:114)
05-09 17:21:38.541  7132 16187 W GmsAuthenticator: 	at android.os.Binder.execTransact(Binder.java:731)

Nanolx avatar May 09 '19 15:05 Nanolx

Yes it's very likely an issue with Bromite/WebView/Chromium, several users reported rolling back to v72 fixed the issue, so they could re-update to v74 afterwards.

And with chrome you can just disable chrome/chromium to log in

MrDodojo avatar May 09 '19 15:05 MrDodojo

Yeah Chrome 74 is blocking the login of micro g Please uninstall it and retry it will work.

Shadowsteak avatar May 11 '19 21:05 Shadowsteak

Fixed with commit 45ee4903f88c36c83b07379b30a07fbb09a4d07a by mar-v-in

Successfully tested with Bromite WebView 75.0.3770.53 (current latest release).

Thanks.

Nanolx avatar May 27 '19 09:05 Nanolx

Fixed with commit 45ee490 by mar-v-in Successfully tested with Bromite WebView 75.0.3770.53 (current latest release). Thanks.

So we need to build the APK by ourself then?

benyaminl avatar May 27 '19 09:05 benyaminl

For now, yes, if you're on the official build.

Nanolx avatar May 27 '19 10:05 Nanolx

Bug should be fixed, new version is out (please report if not fixed for you).

ale5000-git avatar Jun 01 '19 15:06 ale5000-git

/claim

jespinosa1983-cyber avatar Jun 25 '26 01:06 jespinosa1983-cyber

/claim

jespinosa1983-cyber avatar Jun 25 '26 01:06 jespinosa1983-cyber