While clicking send OTP to phone number, nothing happens. No captcha is being shown.
Issue in flutterflow web app phone auth using firebase.
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.