firebase : CONFIGURATION_NOT_FOUND

Viewed 1636

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"}]}}

and on my firebase

if you want my code, go here : my code if you can help me, i am open for all solution

3 Answers

I've experienced the same error. For me, the issue was simply because Firebase Auth was not setup before use.

  1. Go to Firebase Console > Authentication
  2. Turn on one or more authentication methods
  3. Try running app again

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.

You need to initialize your app with the app config before doing any calls to firebase's services :)

Related