[英]Why firebase authUI can't use google account login now, but can login before
Why firebase authUI can't use google account login now, but can login before?为什么firebase authUI现在不能用google账号登录,以前可以登录? Use "Sign in with email" can login but use "Sign in with Google" failed now.
使用“使用电子邮件登录”可以登录,但使用“使用谷歌登录”现在失败了。 Both sign in function were normal before.
之前在function都签到都正常。
Logcat error message:日志错误消息:
E/AuthUI: A sign-in error occurred.
E/AuthUI:发生登录错误。 com.firebase.ui.auth.FirebaseUiException: Code: 10, message: 10:
com.firebase.ui.auth.FirebaseUiException:代码:10,消息:10:
Solution解决方案
If you are using Google Developer Console, follow the ensuing steps.如果您使用的是 Google Developer Console,请按照以下步骤操作。
Step 1:第1步:
Step 2:第2步:
1- Sign in to Firebase 1- 登录 Firebase
2- On the Left Column >> Click the Gear Icon beside the Project Overview >> Click Project Settings >> Click General (see Figure 2) >> Add Fingerprint >> Paste the Copied SHA-1 Fingerprint 2- 在左侧栏中 >> 单击项目概述旁边的齿轮图标 >> 单击项目设置 >> 单击常规(参见图 2) >> 添加指纹 >> 粘贴复制的 SHA-1 指纹
Had solved this Problem.已经解决了这个问题。
Solution: 1.Double click signingReport->get the SHA-1 .解决方案: 1.双击signingReport->获取SHA-1。 2.Copy this generated SHA-1 from Android Studio,then paste to Firebase ->Project Setting-> General Setting->SHA FingerPrint.
2.从Android Studio复制这个生成的SHA-1,然后粘贴到Firebase -> Project Setting-> General Setting->SHA FingerPrint。
Can login with google account.可以用谷歌账号登录。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.