microg / microg/GmsCore

Google Classroom - GoogleAuthUtil Error

Open
#1,152 0 comments 1 reaction 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've logged in with my google account. When I choose to sign in, an account chooser box appears. After choosing the account, it states that it Couldn't sign in, please try again later.

Logcat
<<< log_count = 31 >>> [08-27 22:47:46.010 908:908 E/Layer] [Surface(name=AppWindowToken{bbc7ca2 token=Token{14f886d ActivityRecord{fd98884 u0 com.android.launcher3/.lineage.LineageLauncher t662}}})/@0xb0bedc5 - animation-leash#0] No local sync point found
[08-27 22:47:47.425 2091:2091 I/WallpaperService] engine resumed
[08-27 22:47:47.431 1010:2752 W/ActivityManager] Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://com.android.launcher3:10192?v=9&cv=14 pkg=com.google.android.googlequicksearchbox } U=0: not found
[08-27 22:47:47.511 2002:2002 V/StatusBar] mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{e16df79 V.E...... ........ 0,0-1080,80} canPanelBeCollapsed(): false
[08-27 22:47:48.400 27148:27148 D/LogcatReader] [Logcat] onActivityInBackground
[08-27 22:47:48.422 2091:2091 I/WallpaperService] engine paused
[08-27 22:47:48.438 1010:1010 V/SettingsProvider] Notifying for 0: content://settings/secure/reminder_exp_learning_time_elapsed
[08-27 22:47:49.027 1010:2752 I/ActivityTaskManager] START u0 {act=com.google.android.gms.common.account.CHOOSE_ACCOUNT pkg=com.google.android.gms cmp=com.google.android.gms/org.microg.tools.AccountPickerActivity (has extras)} from uid 10259
[08-27 22:47:49.034 3559:3559 W/ActivityThread] handleWindowVisibility: no activity for token android.os.BinderProxy@219ccd4
[08-27 22:47:49.039 1010:3076 I/ActivityTaskManager] START u0 {cmp=android/.accounts.ChooseTypeAndAccountActivity (has extras)} from uid 10151
[08-27 22:47:49.052 27268:27268 W/ActivityThread] handleWindowVisibility: no activity for token android.os.BinderProxy@de843d7
[08-27 22:47:49.117 1010:1040 I/ActivityTaskManager] Displayed android/.accounts.ChooseTypeAndAccountActivity: +40ms
[08-27 22:47:50.480 27268:27268 D/AccountChooser] selected account Account {name=name@email.com, type=com.google}
[08-27 22:47:50.569 3559:22661 D/GmsAuthManagerSvc] getToken: account:name@email.com scope:^^_account_id_^^ extras:Bundle[{androidPackageName=com.google.android.apps.classroom, clientPackageName=com.google.android.apps.classroom, service_connection_start_time_millis=21234977}], notify: false
[08-27 22:47:50.570 3559:3650 D/GmsAuthManagerSvc] getToken: account:name@email.com scope:oauth2:https://www.googleapis.com/auth/homeroom https://www.googleapis.com/auth/drive extras:Bundle[{androidPackageName=com.google.android.apps.classroom, clientPackageName=com.google.android.apps.classroom, service_connection_start_time_millis=21234977, handle_notification=true}], notify: true
[08-27 22:47:50.570 30162:30412 W/Auth] [GoogleAuthUtil] GoogleAuthUtil
[08-27 22:47:50.570 30162:30412 E/ese] Failed to get account ID
[08-27 22:47:50.571 3559:3650 D/GmsAuthManager] peekAuthToken: com.google.android.apps.classroom:46f6c8987311e131f4f558d8e0ae145bebab6da3:oauth2:https://www.googleapis.com/auth/homeroom https://www.googleapis.com/auth/drive
[08-27 22:47:50.572 3559:3650 D/GmsAuthManagerSvc] getToken: AuthResponse{auth='[retracted]', issueAdvice='stored'}
[08-27 22:47:50.573 27268:27288 D/OpenGLRenderer] endAllActiveAnimators on 0x79077a9100 (RippleDrawable) with handle 0x795efcb900
[08-27 22:47:50.594 1010:1024 W/System] A resource failed to call release. 
[08-27 22:47:50.595 1010:1024 W/System] A resource failed to call release. 
[08-27 22:47:50.599 701:31961 E/ResolverController] No valid NAT64 prefix (101, /0)
[08-27 22:47:52.884 2091:2091 I/WallpaperService] engine resumed
[08-27 22:47:52.896 1010:9198 W/ActivityManager] Unable to start service Intent { act=com.android.launcher3.WINDOW_OVERLAY dat=app://com.android.launcher3:10192?v=9&cv=14 pkg=com.google.android.googlequicksearchbox } U=0: not found
[08-27 22:47:52.960 2002:2002 V/StatusBar] mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{e16df79 V.E...... ........ 0,0-1080,80} canPanelBeCollapsed(): false
[08-27 22:47:53.639 2091:2091 I/WallpaperService] engine paused
[08-27 22:47:53.651 27148:27148 D/LogcatReader] [Logcat] onActivityInForeground
[08-27 22:47:53.651 27148:27148 D/LogcatReader] [Logcat] Posting pending logs
[08-27 22:47:53.653 1010:1010 V/SettingsProvider] Notifying for 0: content://settings/secure/reminder_exp_learning_time_elapsed
[08-27 22:47:53.670 27148:27148 D/LogcatReader] [LogcatLiveFragment] onServiceConnected 

From the logcat, I thought that the issue is related to GoogleAuthUtil, since it states that it Failed to get account ID.

  • microG version: 0.2.11.202414
  • Classroom Version: 6.7.303.03.40

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 reproducing the Google Classroom sign-in flow described in the issue and reviewing the supplied logcat around GoogleAuthUtil and the failed account ID lookup. Trace the relevant microG authentication path to determine why the selected account cannot complete sign-in, then verify that Classroom authentication succeeds without the reported error.

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.