Reputation: 3040
I am getting the following message when trying to use auth.linkWithPhoneNumber()
. All other auth services on the same domain are working fine.
auth/captcha-check-failed and "Hostname match not found" errror
https://github.com/firebase/quickstart-js/issues/394
Now I know this issue is reference all over but the solutions are not working for me... The solution i keep finding is to update Authorized Domains
however there are 2 reasons that might not be the solution for this app.
Login by phone DOES work on localhost, but not in prod
When updating Authorized domain the changes do not save. instead i get the following
Error updating authorized domain list
If the solution for the auth/captcha...
is to update domains then why cant i save changes there? If that is likely not the solution then do you know what it could be
Upvotes: 4
Views: 7389
Reputation: 1
go to your firebase settings and find Authorized domains there are some default domains you should add your frontend domain there then your application will work fine
Upvotes: 0
Reputation: 662
I added my domain in the Authorised domain like if my domain is www.example.com i added example.com but it's not working so i try Adding with www.example.com and it worked for me. Add www.example.com instead of example.com
Upvotes: 8
Reputation: 31
What's your browser and do you have any Allow CORS extension installed? Try to toggle it to off and try again.
Upvotes: 2