A non-recoverable sign in failure occurred code 12500
See original GitHub issueI am using
- react-native 0.55.4 and 0.57.2
- react-native-google-signin@1.0.0rc1 and react-native-google-signin@1.0.0rc6
- classpath ‘com.android.tools.build:gradle:3.1.4’ classpath ‘com.google.gms:google-services:3.2.1’
- play-services-auth 16.0.1 & 9.2.1 (tried both version)
I got this error when signIn
{ [Error: A non-recoverable sign in failure occurred] framesToPop: 1, code: ‘12500’, line: 21326, column: 31, sourceURL: ‘http://localhost:8081/index.delta?platform=android&dev=true&minify=false’ }
I tried add and remove SHA1 then redownload google-service.json for both setting, still same error.
I tried client ID for web application and android client, both getting same error.
This is my google sign in code
GoogleSignin.configure({
webClientId: 'xxxxxxx.apps.googleusercontent.com', offlineAccess: true,
})
GoogleSignin.hasPlayServices()
.then(() => {
GoogleSignin.signIn()
.then((user) => {
console.log(user);
})
.catch((err) => {
if(err.code === 'CANCELED')
{
console.log('glogin canceled', err.code);
dispatch(loginFailure(null))
}
else{
console.log('error', err);
}
});
}).catch(err => {
console.log('Play services error', err.code, err.message);
});
any idea what cause the error?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:62 (1 by maintainers)
Top Results From Across the Web
RN google signin (Error code- 12500 Failure) - Reddit
Hi, has anyone has experienced following google signin error during their setup/configuration- Error: A non-recoverable sign in failure ...
Read more >Google SignIn SDK is failing by throwing error, A non ...
[Error: A non-recoverable sign in failure occurred] 1. add support email to solve this error 2. and wait 5 minutes your google login...
Read more >error: a non-recoverable sign in failure occurred - You.com
I have a React native project with Firebase. I have created a sign in with Google which it works on API 29 and...
Read more >Possible issues in google login using firebase - Itechinsiders
1) a non-recoverable sign in failure occurred react-native Google Sign In error 12500 ... Solution: This error has occurred if you don't set...
Read more >Android Google Sign In error message codes 12500 / 10
Solving google authentication issues to Android Firebase app.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got stuck on this one for several days until I figured how what was wrong. I relay with most of the situation described above :
And I noticed that in the App signing part of the Google Play account :
I checked the play account (important thing to mention at this point : I did not configure the play account) : And sure enough, my package was being RE-SIGNED by google play certificate…
When you go to the Release Management > App Signing, you will see the SHA1 of the keystore being used by Google after yours. Pick it, paste it in Firebase, update your google-services.json file, redeploy and VOILA !
I really hope this help others to avoid all the hair pulling I’ve been doing these last few days 😄
i solved this by updating consent screen at developer console -> Credentials -> OAuth consent screen
the login works until 3 days ago !!!