FirebaseExtended / flutterfire_desktop

An early-stage, experimental pure-Dart implementation of Firebase SDKs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

firebase_auth/captcha-check-failed

TarekFaysal opened this issue · comments

signInWithPhoneNumber method works fine for web platform.
signInWithPhoneNumber method for desktop (macos, windows) only works with test phone number and verification code.
test phone number
But it does not work with any real phone numbers. This error shows up when any real phone number is provided.

[firebase_auth/captcha-check-failed] The reCAPTCHA response token was invalid, expired, or is called from a non-whitelisted domain.

How can I solve this issue?

Go to Authentication > Sign-in method > Authorized domains, then add 127.0.0.1 to the list of authorized domains in Firebase Console.

Thanks for the reply. It works as intended.