Example of the reCAPTCHA modal auth failure for Flutter Firebase Web Auth with Phone
To experience the problem, you need a real Firebase Instance. This issue does not show on the Firebase emulator.
- Create a real Firebase project for testing purposes
- Enable Phone Authentication
- Add a test phone number to Firebase Phone Auth
- Copy/Paste the number into
testPhoneNumber
inmain.dart
- Run
flutterfire configure --platforms=web
to createfirebase_options.dart
- Deploy to hosting or run locally
- Keep on clicking Login until you get a reCAPTCHA modal
- You can try using a VPN provider and switching countries to get that CAPTCHA quicker
- Click outside the modal
- Enjoy the infinite hang