简体   繁体   English

为什么firebase authUI现在不能用google账号登录,以前可以登录

[英]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步:

  1. Sign in to Google Play Console登录 Google Play 管理中心
  2. Click the App name点击应用名称
  3. On the Left Column >> Click Setup >> Click App Integrity (see Figure 1) >> Click App Signing >> Click the Copy Icon在左侧栏中 >> 单击设置 >> 单击应用程序完整性(参见图 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 指纹

图 2。

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.

相关问题 无法从 firebase 登录谷歌帐户 - Can't login into google account from firebase 为什么我不能用google账号登录android studio? - Why I can't login to android studio with google account? 您可以使用某人的 google play 帐户进行 Firebase 身份验证和 Google 登录吗? - Can you use someone's google play account for Firebase Auth with Google login? 尝试使用 Google 帐户登录 Firebase CLI 返回“出现问题” - Trying to login into the Firebase CLI with Google account returns 'Something went wrong' 为什么使用 Google 登录示例代码返回错误的令牌以登录到 Firebase? - Why is Sign in With Google example code returning the wrong token to login to Firebase? 错误:使用 firebase 登录切换帐户时无法确定 firebase 中的活动 Firebase 项目目录:使用 - Error: Could not determine active Firebase project directory in firebase while switching account with firebase login:use 使用 gcloud 服务帐号登录 firebase - Login to firebase using gcloud service account 无法访问 OAuth 访问令牌方法,同时执行 Github 使用 Firebase 登录 - Can't access OAuth Access token method while doing Github Login with Firebase 为什么我的 Firebase Cloud Function 不能使用“allAuthenticatedUsers”? - Why can't I use `allAuthenticatedUsers` for my Firebase Cloud Function? 无法使用az登录 - Can not login using az
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM