Home > Software design >  Flutter, Firebase: The given sign-in provider is disabled for this Firebase project
Flutter, Firebase: The given sign-in provider is disabled for this Firebase project

Time:05-01

auth.UserCredential result = await auth.FirebaseAuth.instance
          .signInWithEmailAndPassword(email: email, password: password);

I'm trying to log in with this code

enter image description here

with this firebase setup, and then

[firebase_auth/operation-not-allowed] The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.#0

this pops up. i've properly setup firebase sdk and the .plist file idk what is wrong. any ideas?

CodePudding user response:

Try flutter clean, most of the time it would not reflect with hot reload.

CodePudding user response:

try changing auth.UserCredential result = to UserCredential result =

  • Related