无法将Firebase连接到android应用|此应用无权使用Firebase身份验证 [英] Unable to connect Firebase to android app | This app is not authorized to use Firebase Authentication

查看:68
本文介绍了无法将Firebase连接到android应用|此应用无权使用Firebase身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经被问过很多次了.但是我已经完成了以下操作,仍然出现错误"该应用无权使用Firebase身份验证.请验证是否在Firebase控制台中配置了正确的软件包名称和SHA-1" :

I know this question is already asked many times. But I have done the following things still I am getting an error "This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console":

  1. 从android studio signingReport版本以及游戏控制台仪表板中添加了sha1和sha256
  2. 我正在使用物理设备进行测试
  3. 我曾尝试使用android studio内置的firebase工具连接到firebase.
  4. 测试编号也不起作用.

推荐答案

在使用电话号码身份验证时,我也遇到了同样的错误.确保您满足 Android设备检查API 的要求.这将使您的设备被识别.使用 https://console.cloud.google.com/apis/library/androidcheck.googleapis.com?project=capital-insider&folder=&organizationId=https://console.cloud.google.com/apis/library/androidcheck.googleapis.com?project=capital-insider&folder=&organizationId=

I had this same error when I was using Phone number authentication. Make sure you complete Android Device Check API requirements. This will enable your devices to be recognized. use https://console.cloud.google.com/apis/library/androidcheck.googleapis.com?project=capital-insider&folder=&organizationId=https://console.cloud.google.com/apis/library/androidcheck.googleapis.com?project=capital-insider&folder=&organizationId=

并确保您已添加应用.

这篇关于无法将Firebase连接到android应用|此应用无权使用Firebase身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆