首页 > 解决方案 > @googlemail.com 帐户无法使用 GoogleSignIn 进行身份验证,但 @gmail.com 帐户可以

问题描述

最近我收到一些用户反馈,无法登录 google 帐户访问我的应用程序中的 Google Drive 应用程序数据。发现他们都使用@googlemail.com 电子邮件地址。经过测试,@googlemail.com 帐户在加载页面(屏幕记录波纹管)处停止。但是@gmail.com 帐号没有打开这个页面并登录成功。

GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                    .requestScopes(new Scope(Scopes.DRIVE_APPFOLDER))
                    .requestEmail()
                    .build();
            GoogleSignInClient mGoogleSignInClient = GoogleSignIn.getClient(MainActivity.this, gso);
            Intent signInIntent = mGoogleSignInClient.getSignInIntent();
            startActivityForResult(signInIntent, RC_SIGN_IN);

在此处输入图像描述

标签: androidgoogle-play-servicesgoogle-signingoogle-account

解决方案


推荐阅读