Open mmd44 opened 3 months ago
I found a few problems with this issue:
We use recaptcha V2 instead of Entreprise internally with phone auth, can you reproduce both cases after you Disable reCAPTCHA Entreprise on Google console?
Yes same results. It seems reCAPTCHA Enterprise is not being used even when enabled as no requests are being registered on this API on Google console's enabled APIs page.
Versions
Description
I am facing a weird issue with firebase sms auth in Android and Jetpack compose.
I am trying to test reCAPTCHA flow when Play Integrity Check is not available on REAL NUMBERS (when testing with fictional numbers, everything works fine).
I have an app that is not yet on the store, so assuming Play Integrity API will fail and firebase auth sdk will try to validate my app through ReCaptcha as stated in docs.
I have already setup the following:
Steps to reproduce:
The weird behavior is as following:
I have 2 real phone numbers one with country code +1 (CAD) and the other +961 (LB) (both are listed as supported countries);
1. When I test with +1 XXX XXX XXXX:
I successfully receive the code while noticing the following errors in logs:
2. When I test with +961 XX XXXXXX:
I fail to receive the code, get the same errors in logs as above + a failure message:
In both test cases, the app successfully opens the browser (a screen with 'verifying you're not a robot' label text and loading) and redirects back to my app, so I am assuming the reCAPTCHA is working...
I have also tried to add the recaptcha sdk and linking it to a key added on Google console and initialize it on my app but I also failed to get any different result.
Any idea what could be the issue?