Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firebase_auth/captcha-check-failed #58

Closed
TarekFaysal opened this issue Mar 30, 2022 · 2 comments
Closed

firebase_auth/captcha-check-failed #58

TarekFaysal opened this issue Mar 30, 2022 · 2 comments

Comments

@TarekFaysal
Copy link

TarekFaysal commented Mar 30, 2022

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?

@pr-Mais
Copy link
Contributor

pr-Mais commented Apr 4, 2022

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

@TarekFaysal
Copy link
Author

Thanks for the reply. It works as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants