🐛 Bad Request using Phone Auth Provider #352
Labels
auth
blocked: customer response
Waiting for customer response, e.g. more information was requested.
resolution: needs repro
This issue could not be reproduced or needs an up to date reproduction on latest packages
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
Web
List of dependencies used.
flutter pub deps -s list
dev dependencies:
transitive dependencies:
Steps to reproduce
Using the provided
PhoneInputScreen
fails to validate phone numbers on web platform.My Login Screen:
Phone Route:
Expected Behavior
Phone number is validated and the app proceeds to the code screen.
Actual Behavior
Phone number validation fails.
App makes a POST to
https://identitytoolkit.googleapis.com/v1/accounts:sendVerificationCode
with no phone number resulting in a 400Additional Information
I'm able to work around this issue by building my own screen using
PhoneInput
andSMSCodeInput
and callingFirebaseAuth.instance.signInWithPhoneNumber(phoneNumber);
The text was updated successfully, but these errors were encountered: