Google Authentication on iOS and Android - internal error
See original GitHub issueRunning into:
NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information.,
NSUnderlyingError=0x1c4256e90 {Error Domain=FIRAuthInternalErrorDomain Code=3 "(null)" UserInfo={FIRAuthErrorUserInfoDeserializedResponseKey={
code = 400;
errors = (
{
domain = global;
message = "Error occurs when calling appIdentity.";
reason = invalid;
}
);
message = "Error occurs when calling appIdentity.";
}}}}
{N} code which is executed on button tap:
login() {
console.log('Login tapped');
firebase.login({
type: firebase.LoginType.GOOGLE,
}).then(result => {
console.log(JSON.stringify(result));
},
err => {
console.log('Error occured');
console.log(err);
});
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
com.google.firebase.FirebaseException: An internal error ...
I was using signInWithCustomToken() , and just visiting the authentication page in firebase console and pressing on "Get Started" button was ...
Read more >Google Authentication on iOS and Android - internal error
Running into: NSLocalizedDescription=An internal error has occurred, print and inspect the error details for more information., ...
Read more >Can't sign in from a third-party service - Google Account Help
A general error that your sign-in was unsuccessful. · The service you're signing in from doesn't provide enough information to prove it's you....
Read more >Authenticate with Firebase on Apple Platforms using a Phone ...
Phone numbers that end users provide for authentication will be sent and stored by Google to improve our spam and abuse prevention across...
Read more >Google Sign-In for server-side apps | Authentication
Note: Use a single project to hold all platform instances of your app (Android, iOS, web, etc.), each with a different Client ID....
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 FreeTop 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
Top GitHub Comments
I was able to find a workaround for the issue, and am documenting it here @EddyVerbruggen in case someone else runs into the same problem. Also, I’m closing the issue since it’s not a bug on the plugin side.
If your Firebase project was created by Actions on Google, delete your project (after backing up important data). Then, create a new Firebase project and link it to your Actions on Google project.
TL;DR
Buggy Flow:
Working Flow:
Facing same issue, have created project in react-native and everything is working fine but when using testflight build firebase signinwithphonenumber() returns, “An internal error has occured”. Working well with few iOS devices and throwing this error with few devices. Can anyone help me out with this?