登录谷歌BAD_AUTHENTICATION问题 [英] Login with google BAD_AUTHENTICATION issue

查看:2981
本文介绍了登录谷歌BAD_AUTHENTICATION问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  E / Auth:[GoogleAccountDataServiceImpl] getToken() - > BAD_AUTHENTICATION。帐户:< ELLIDED:652354120>,应用程序:com.google.android.apps.maps,服务:oauth2:https://www.googleapis.com/auth/mobilemaps.firstparty 
efl:长时间的凭据不是可用。 (:com.google.android.gms:3117)
在efm.a($:com.google.android.gms:119)
在edt.a($: com.google.android.gms:437)
at eds.a(:com.google.android.gms:31404)
at eds.a(:com.google.android.gms:297) (::com.google.android.gms:1189)
在flf.a(::com.google.android.gms:480)
在flf.a($: com.google.android.gms:185)
at eaa.a(:com.google.android.gms:370)
at eaa.a(:com.google.android.gms:225)
在bwf.onTransact(:com.google.android.gms:13 7)
在android.os.Binder.transact(Binder.java:380)
在by.onTransact(:com.google.android.gms:35)
在android.os。 Binder.execTransact(Binder.java:446)

我已经添加了SHA1签名apk并将google- services.json与新的。通过注册您的应用程序(应用程序)在应用程序商店发布时得到这个问题时,要去与谷歌登录。

解决方案

Google Play App Signing(GPAS)服务,您同意受这些条款的约束,



  1. 密钥生成和存储

    <1.1> GPAS是一种可选的服务,它提供了安全的方式来处理
    您的应用程序签名密钥。



    1.2。通过在GPAS中注册现有的应用程序,您同意将您的
    现有应用程序的签名密钥提供给Google,并保护或删除您的密钥副本
    。对于新的应用程序,Google会为
    您的应用程序生成新的应用程序签名密钥。

    1.3。您将可以下载和查看由Google签署的
    的任何APK。您需要从应用程序签名证书添加SHA-1指纹到您的消防系统中。

  2. 基本控制台也是,这是谷歌新的更新从2017年5月17日生效。




    E/Auth: [GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. Account: <ELLIDED:652354120>, App: com.google.android.apps.maps, Service: oauth2:https://www.googleapis.com/auth/mobilemaps.firstparty
                                               efl: Long live credential not available.
                                                   at efm.b(:com.google.android.gms:3117)
                                                   at efm.a(:com.google.android.gms:119)
                                                   at edt.a(:com.google.android.gms:437)
                                                   at eds.a(:com.google.android.gms:31404)
                                                   at eds.a(:com.google.android.gms:297)
                                                   at flg.a(:com.google.android.gms:1189)
                                                   at flf.a(:com.google.android.gms:480)
                                                   at flf.a(:com.google.android.gms:185)
                                                   at eaa.a(:com.google.android.gms:370)
                                                   at eaa.a(:com.google.android.gms:225)
                                                   at bwf.onTransact(:com.google.android.gms:137)
                                                   at android.os.Binder.transact(Binder.java:380)
                                                   at byl.onTransact(:com.google.android.gms:35)
                                                   at android.os.Binder.execTransact(Binder.java:446)
    

    I have added SHA1 to signed apk and replaced google-services.json with new one. After release on app store getting this issue when going to login with google.

    解决方案

    By enrolling Your application ("app") in Google Play App Signing (GPAS) service,You consent to be bound by these terms,

    1. Key Generation and Storage

      1.1. GPAS is an optional service that provides a secure means of handling Your app signing key.

      1.2. By enrolling Your existing app in GPAS, You agree to give Your existing app’s signing key to Google and to secure or delete Your copy(ies) of the key. For new apps, Google will generate a new app signing key for Your app.

      1.3. You will have the ability to download and review any APKs you publish that are signed by Google.

    You need to add SHA-1 fingerprint from App signing certificate to your fire base console also, this is the new update from google effective as of May 17th 2017.

    这篇关于登录谷歌BAD_AUTHENTICATION问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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