coolishbee / universal-sdk-unity

The Universal SDK for Unity provides a modern way of implementing Social Login APIs.
45 stars 11 forks source link

Login Failed when Login with Google #2

Closed cperisson1 closed 1 year ago

cperisson1 commented 2 years ago

Hi.

Unity build and deploy on device works without any problem. I can sign with Google, but then the app show the attached screen, this message:

"Login Failed.(10)"

The GoogleClientID and ReverseId are configurated. Tested with several Google users

Any help?

Anyway, great product!!!

Thanks in advance

Screenshot_20220802-125332_Login with Google Universal

coolishbee commented 2 years ago

If error code 10 is the result when trying to Google Login, you need to check whether the certificate fingerprint is registered in the firebase console.

Register the SHA-1 certificate thumbprint of each app signing key certificate and upload key certificate in Google Play Console App Settings > App Integrity tab in Firebase Console > Project settings > General tab.

setting

To enable Google login for both the version released on the Google Play Console and the version directly distributed by the developer with the same certificate, you must register both the upload key certificate and the app signing certificate fingerprint.

https://stackoverflow.com/questions/47632035/google-sign-in-error-12500