I am trying to integrate Google Sign in to my application, but I get errors that I cannot understand.
I have configured everything according to the tutorial here, but it would not authenticate me. I am presented with the login panel that shows my accounts, and the login activity OnActivityResult fires, when looking into the GoogleSignInResult, I have a Status with a statusCode 8 and no message.
It seems to be related to this, but it is a bit confusing.
Any idea ?
Check out the answer to this question: An INTERNAL_ERROR
(8) occurred when requestEmail from GoogleSignInOptions on Android
If you get error code 8 (INTERNAL_ERROR
), please double check your app registration in dev console. Note that every registered Android client is uniquely identified by the (package name, Android Signing Certificate SHA-1) pair. If you have multiple package names / signing certificate for your debug and production environments, make sure to register every pair of them. To verify:
To get your signing key certificate SHA-1:
Standard Debug Key
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Other (Custom) Key
keytool -list -v -keystore $YOUR_KEYSTORE_LOCATION