android - 为什么firebase authUI现在不能使用google账号登录,但之前可以登录

标签 android kotlin firebase-authentication google-authentication firebaseui

为什么firebase authUI现在无法使用google账号登录,而之前可以登录? 使用“使用电子邮件登录”可以登录,但使用“使用 Google 登录”现在失败。 之前登录功能都是正常的。

Logcat错误消息:

E/AuthUI: A sign-in error occurred. com.firebase.ui.auth.FirebaseUiException: Code: 10, message: 10:

最佳答案

已经解决了这个问题。

解决方案: 1.双击signingReport->获取SHA-1。 2.从Android Studio复制生成的SHA-1,然后粘贴到Firebase ->项目设置 -> 常规设置->SHA 指纹。

可以使用google帐户登录。

enter image description here

关于android - 为什么firebase authUI现在不能使用google账号登录,但之前可以登录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63970830/

相关文章:

firebase - 如何在 flutter 和 firebase 中注册新用户?

android - Windows 7 64bit android AVD 启动错误 :Failed to allocate memory: 8

java - 未找到 Android Robolectric 软件包。未知包装 : apk

android - 在android中使用相机应用程序时出错

android - 如何解决错误 "Projects created at console.firebase.google.com must use the new Firebase Authentication SDKs"

Android 身份验证 firebase 错误 : Local module descriptor class for com. 未找到 google.firebase.auth

android - Android 颜色 XML 资源文件中的 Web 颜色

kotlin - 如何在Kotlin的扩展函数中使用map()

android - 如何将显式 API 模式应用于除 app 模块之外的所有模块?

android - 由于包含使用不受支持的插件版本的 Kotlin 模块,因此不支持新的 Gradle Sync