7

I am using Firebase UI to provide login for my app. When i try to login with Google it is giving error message com.firebase.ui.auth.FirebaseUiException: Code: 12500, message: 12500. But i when try to integrate google login directly it is working fine. I Couldn't find the way to resolve this issue. Error code description in google document

The sign in attempt didn't succeed with the current account.

Unlike SIGN_IN_REQUIRED. when seeing this error code, there is nothing user can do to recover from the sign in failure. Switching to another account may or may not help. Check adb log to see details if any.

Suresh Pichuka
  • 119
  • 1
  • 7

6 Answers6

12

Check to see if you have added a "Support email" in your firebase project settings. This was able to solve the problem for me after a lot of trying different things that didn't work.

Heloed
  • 121
  • 1
  • 7
5

You may need to set a SHA-1 certificate fingerprint in your app's Firebase settings. See this answer to a similar question here (reproduced below): https://stackoverflow.com/a/52082447/4982525

Check if SHA-1 fingerprints are added to the firebase project settings. If not,find SHA-1 fingerprint using

https://developers.google.com/android/guides/client-auth

Also, find the SHA-1 fingerprint of release key using

keytool -list -v -keystore <keystore path>

Remove with the path of the key store.

Then add both SHA-1 fingerprints to firebase projects settings.

NB: Don't forget to replace google-services.json with updated google-services.json with new fingerprints. I lost two days on that.

trod
  • 178
  • 2
  • 11
1

Please add sha-1 code from your android studio to the fire console.

Sagiruddin Mondal
  • 5,407
  • 2
  • 29
  • 44
0

For me, I found that just deleting the app("remove app") from the firebase project solved the problem.

ysf
  • 4,634
  • 3
  • 27
  • 29
EAM
  • 361
  • 2
  • 5
0

I faced this issue recently, the fix was to goto: https://console.developers.google.com/apis/credentials and complete OAuth credentials. Add app logo, email, authorized domain, privacy link, and terms link. In my case, I used example.com for most stuffs, just for a practice app. enter image description here

Eaweb
  • 811
  • 1
  • 12
  • 16
0

Go to your Firebase project on your google console. And select the appropriate providers in Authentication.

The issue was you didn't set up authentication on your console project.

Hyouteki
  • 1
  • 1