Reputation: 121
I'm trying to Build Google+ Sign In On Android Device using Google Identity Toolkit , I followed the Quick Start Guide on https://developers.google.com/identity/toolkit/android/ , but I'm repeatedly getting the following error.
"error": {
"errors": [
{
"domain": "global",
"reason": "invalid",
"message": "CONFIGURATION_NOT_FOUND"
}
],
"code": 400,
"message": "CONFIGURATION_NOT_FOUND"
}
}
Anyone can help me?
Upvotes: 11
Views: 8273
Reputation: 1004
In my case I got the CONFIGURATION_NOT_FOUND because I messed up the firebase config environment and I was pointing to another firebase project.
Check your env
file:
export const environment = {
production: true,
httpBaseUrl: 'check at what url your firebase function is deployed',
firebaseConfig: 'check your firebase project',
};
The value of firebaseConfig can be found in SDK setup and configuration at url: https://console.firebase.google.com/project/<your-project-id>/settings/general
The value of httpBaseUrl check the documentation, something like:
https://us-central1-MY_PROJECT.cloudfunctions.net/functionName
Upvotes: 0
Reputation: 343
I was using Firebase auth .signInWithEmailAndPassword(email, password) and faced that issue. In my case, just like Kasunaz aforementioned, enabling Email/Password sign-in method solved the issue.
Upvotes: 0
Reputation: 412
In my case i had to setup this config: ./google-services.json
As explained here: https://docs.expo.io/guides/setup-native-firebase/#android
Upvotes: 0
Reputation: 593
May be you are using firebase email/password authentication service or some other authentication service provided by firebase and haven't enabled it yet from the firebase console Authentication tab.
I have resolved this sort of issue in that way.
Upvotes: 23