Firebase Sign In: GoogleSignIn onActivityResult() returns RESULT_CANCELED with Result error 12500

前端 未结 2 1610
无人及你
无人及你 2020-12-22 01:39

Ok, i am aware that this question has been asked multiple times, but for some reason this error keeps happening, this is the scenario:

  • Created PROD firebase

相关标签:
2条回答
  • 2020-12-22 01:57

    What I tried first :

    I want through this error ApiException: 12500 for a long time. I tried everthing :

    • remove my debugkeystore, recreate one
    • add support email on firebase console
    • change versions of plugin
    • update google on my device

    But when I was browsing stackoverflow, I found a solution :

    Maybe the solution :

    I went to this page (https://console.developers.google.com/apis/credentials) Do not forget to select your project on the list (top left). Then go on "Oauth consent screen"

    I filled almost all the fields : the application logo, the email support, the application homepage link, application privacy policy link (with the project.firebaseapp.com); and I saved.

    Now it's working, I can login.

    Hope this will help

    Source

    Thanks to answer of Pranjal Gupta : Google Sign In error 12500

    0 讨论(0)
  • 2020-12-22 02:21

    My problem was solved when I realized that I had already logged in with the same email through another method. For example, if the user logs in for the first time using the email and password method, when trying to log in via Google login the error will appear. Then, delete the email and try again and you will see that everything is ok. It doesn't make much sense, but this is what happens.

    0 讨论(0)
提交回复
热议问题