Reputation: 177
i work on the auth for my flutter app with firebase and i have an erro with the creation of a user, with the function createUserWithEmailAndPassword(email: mail, password: password);
and signInWithEmailAndPassword(email: mail, password: password);
but it's not work, when i test it, it's mark that :
[firebase_auth/internal-error]{"error":{"code":400,"message":"CONFIGURATION_NOT_FOUND","errors":[{"message":"CONFIGURATION_NOT_FOUND","domain":"global","reason":"invalid"}]}}
if you want my code, go here : my code if you can help me, i am open for all solution
Upvotes: 10
Views: 12071
Reputation: 11
I have experienced the Firebase: Error(Configuration not found). Firebase Auth was not enabled yet.
I hope the issue will be resolved.
Upvotes: 1
Reputation: 1618
Follow the tutorial here: https://blog.flutterflow.io/firebase-authentication/
Depending on your app, you'll need to add the correct provider in Firebase under "Build - Authentication". I used the FinWallet example, which requires the email/password provider.
Upvotes: 1
Reputation: 531
I've experienced the same error. For me, the issue was simply because Firebase Auth was not setup before use.
Upvotes: 37
Reputation: 1863
You need to initialize your app with the app config before doing any calls to firebase's services :)
Upvotes: -1