Signing in via Google in my application gives this error:
An internal error has occurred. [ OPERATION_NOT_ALLOWED ]
I have enabl
I had the same problem. I got the solution in the forum post [Google Auth] com.google.firebase.FirebaseException: An internal error has occurred.
This happened to me when I did not have the authentication method enabled in the console Firebase. When I enabled Google authentication, I got the same exception, just without [OPERATION_NOT_ALLOWED].
I got "Internal error has occurred" when run the project. Please make sure your emulator connect with internet. In my case my emulator didn't connect with internet. for that following these steps.(For Windows PC)
Then in emulator, switch off WiFi and switch on again. It's worked for me.
Than it works fine :)
finally I found the solution which worked for me. The fact is that even when you have setup successfully the email+password auth method you need to create a mobile app(in my case) and associate it with your project. After that FireBase will work as expected.
Go to Google "https://console.developers.google.com/apis/library/" to your project and enable Identity Toolkit API
If you are signup with email and password then follow below steps.
Go to https://console.firebase.google.com/
Select your project.
Click on Authentication from menu option(Right-side menu)
Click on SIGN-IN-METHOD
Click on Email/Password and enable it.
Click on SAVE.