FirebaseException:发生内部错误。 [ 错误的请求 ]

时间:2018-04-09 12:43:29

标签: android firebase-authentication

调用

final AuthCredential credential = GoogleAuthProvider.getCredential(acct.getIdToken(), null);

结果

com.google.firebase.FirebaseException: An internal error has occurred. [ Bad Request ]
    at com.google.android.gms.internal.zzeaw.zzaw(Unknown Source)
    at com.google.android.gms.internal.zzdzu.zza(Unknown Source)
    at com.google.android.gms.internal.zzebh.zzax(Unknown Source)
    at com.google.android.gms.internal.zzebk.onFailure(Unknown Source)
    at com.google.android.gms.internal.zzeay.onTransact(Unknown Source)
    at android.os.Binder.execTransact(Binder.java:453)
  1. OAuth 2.0:我在Google开发者控制台和Firebase控制台中都有正确的SHA-1
  2. 项目中包含最新的google-services.json文件。

0 个答案:

没有答案