flutterfire_desktop icon indicating copy to clipboard operation
flutterfire_desktop copied to clipboard

The app name in the SMS sent for phone auth is the localhost `127.0.0.1`

Open pr-Mais opened this issue 3 years ago • 1 comments

Issue description

When using phone authentication, the SMS sent has 127.0.0.1 as the app name. Example:

image

Context

The reCAPTCHA verification step is done on the localhost server and launched in aa WebView, which is causing auth handler to use the domain as an app name.

Phone authentication on the desktop implementation is using the Identity Platform REST API. On Firebase iOS and Android SDK, the auth handler /__/auth/handler can detect and verify the app scheme, for instance, in the iOS SDK here, couple parameters sent which result in the correct app name being sent in the SMS.

pr-Mais avatar Feb 24 '22 19:02 pr-Mais

[firebase_auth/captcha-check-failed] The provided reCAPTCHA response token is invalid, expired, already used, or the field associated with it does not match the fields in the whitelist.

Have you also face this issue

himanshu-asint avatar Mar 15 '24 08:03 himanshu-asint