et1000_
et1000_

Reputation: 177

firebase : CONFIGURATION_NOT_FOUND

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

Upvotes: 10

Views: 12071

Answers (4)

Fakrul Chowdhury
Fakrul Chowdhury

Reputation: 11

I have experienced the Firebase: Error(Configuration not found). Firebase Auth was not enabled yet.

  • Go to Firebase Console -> Authentication -> Sign-in-method
  • Turn on one or more authentication methods
  • Then restart your app

I hope the issue will be resolved.

Upvotes: 1

smets.kevin
smets.kevin

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

rudenudedude
rudenudedude

Reputation: 531

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

Upvotes: 37

mike
mike

Reputation: 1863

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

Upvotes: -1

Related Questions