ย ยทย Abtris Lab

Issue in flutterflow web app phone auth using firebase.

Project Settings

While clicking send OTP to phone number, nothing happens. No captcha is being shown.

What have you tried so far?

When run the project locally in debug mode and add the following method in inside try catch :
if (kIsWeb) { try{ phoneAuthManager.webPhoneAuthConfirmationResult = await FirebaseAuth.instance.signInWithPhoneNumber(phoneNumber); phoneAuthManager.update(() => phoneAuthManager.triggerOnCodeSent = true); }catch (e){ print('Error during phone authentication: $e'); } return; }

i got this error Error during phone authentication: [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.

I have setup sign-in method with phone - auth enabled. added supposed domains in authorized domains section. Im using latest flutterflow also.

Did you check FlutterFlow's Documentation for this topic?
Yes
1