flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

How to disable the recaptcha flow in firebase phone authentication (Flutter)

Open sai-chandra22 opened this issue 1 year ago • 10 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Which plugins are affected?

App Check

Which platforms are affected?

Android, iOS

Description

I have enabled Player Integrity in firebase app check, and also added App attest for Ios (Uploaded the auth key and enabled everything for silent notifications), still Recaptcha is coming

Reproducing the issue

Please list out what else are required for making the auth flow with out recaptcha

Firebase Core version

2.16.0

Flutter Version

3.19.6

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet

Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

sai-chandra22 avatar Jun 17 '24 07:06 sai-chandra22

Hello @sai-chandra22, Recaptacha is automatically disabled if App attest or any other method can be used. Are you using a prod environment to test that (or at least something deployed to Testflight?)

Lyokone avatar Jun 18 '24 07:06 Lyokone

Hello,

I am testing it in test flight, it is still showing the captcha, how it is possible even if app attest is made properly.

On Tue, Jun 18, 2024 at 1:11 PM Guillaume Bernos @.***> wrote:

Hello @sai-chandra22 https://github.com/sai-chandra22, Recaptacha is automatically disabled if App attest or any other method can be used. Are you using a prod environment to test that (or at least something deployed to Testflight?)

— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/12967#issuecomment-2175414741, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIJV2CZ36ATHCBJSH24LC6LZH7QCBAVCNFSM6AAAAABJNN33WOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZVGQYTINZUGE . You are receiving this because you were mentioned.Message ID: @.***>

sai-chandra22 avatar Jun 18 '24 15:06 sai-chandra22

I'm not sure without any logs or reproduction sample. You can try to update to the latest versions of the plugins.

Lyokone avatar Jun 19 '24 12:06 Lyokone

Hi,

What logs are you referring to? can you tell me what inputs I need to present you such that you will explain more about this

Thanks, Sai chandra

On Wed, Jun 19, 2024 at 5:34 PM Guillaume Bernos @.***> wrote:

I'm not sure without any logs or reproduction sample. You can try to update to the latest versions of the plugins.

— Reply to this email directly, view it on GitHub https://github.com/firebase/flutterfire/issues/12967#issuecomment-2178527757, or unsubscribe https://github.com/notifications/unsubscribe-auth/BIJV2CYA5O4OELGKOL26CFDZIFXU3AVCNFSM6AAAAABJNN33WOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZYGUZDONZVG4 . You are receiving this because you were mentioned.Message ID: @.***>

sai-chandra22 avatar Jun 19 '24 13:06 sai-chandra22

Any log produced by logcat or the Android device you are testing on.

Lyokone avatar Jun 20 '24 06:06 Lyokone

I m getting this error in IOS device. Previously there is a custom URL in place by which the RECAPTCHA issue is coming according to the doccumentation i found this Screenshot 2024-06-21 at 3 42 30 PM

After removing it, I was not even getting logged in Simulator Screenshot - iPhone 15 Pro - 2024-06-21 at 15 15 45

sai-chandra22 avatar Jun 21 '24 10:06 sai-chandra22

Any update @Lyokone

sai-chandra22 avatar Jun 25 '24 11:06 sai-chandra22

The error is expected if you are removing the URL Scheme. You didn't produce any log we could use to help you debug the issue as requested.

Lyokone avatar Jun 25 '24 13:06 Lyokone

My issue is with ios only, debug console currently showing no errors, can you tell me is there any way to take logs for ios emulator during debug mode ( may be i m not aware of it, kindly help)

sai-chandra22 avatar Jun 26 '24 16:06 sai-chandra22

Here is the documentation: https://developer.apple.com/documentation/xcode/acquiring-crash-reports-and-diagnostic-logs#Access-device-console-logs

Lyokone avatar Jun 27 '24 07:06 Lyokone

Hey @sai-chandra22. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Jul 09 '24 01:07 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@sai-chandra22 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Jul 18 '24 01:07 google-oss-bot