firebase / firebase-android-sdk

Firebase Android SDK
https://firebase.google.com
Apache License 2.0
2.29k stars 579 forks source link

Firebase Auth testing mode to disable too many Auth requests for passwordless email implementation #4825

Open Technorocker opened 1 year ago

Technorocker commented 1 year ago

What feature would you like to see?

Implementing passwordless email authentication, deeplinking features or working on a bug is difficult because after only a few (5?) login attempts firebase is blocking the email for a certain time.

It seems this kind of limitation is not listed here: https://firebase.google.com/docs/auth/limits

Google "firebase auth too many requests" show a lot of result where develops are struggling with this issue.

How would you use it?

It would be nice to be able to work on these complex integrations without needing to be forced to take a long coffee break every after every few attempts to get the code working properly

google-oss-bot commented 1 year ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

argzdev commented 1 year ago

Hi @Technorocker, thanks for filing this request. Just wondering, have you tried our Firebase Emulator with these types of tests? I think they should be able to cover these types of use cases.

Technorocker commented 1 year ago

I have not actually, i seen that there was a settings option to tuen of phoneauth for testing parameter and was hoping there was one for testing passwordless deep linking.

I will look into that if it works for authentication as well. I had heard of it but thought it was for database testing.

Thanks for the reply.

On Mon., Mar. 27, 2023, 12:20 p.m. argzdev, @.***> wrote:

Hi @Technorocker https://github.com/Technorocker, thanks for filing this request. Just wondering, have you tried our Firebase Emulator https://firebase.google.com/docs/emulator-suite/connect_auth#emulated_email_email_link_and_anonymous_authentication with these types of tests?

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

argzdev commented 1 year ago

Sure, let me know it if helps!

Technorocker commented 1 year ago

So after installing it and getting it going I cam across another github thread that says the local emulator doesnt work with FDL deeplinking so that makes it unusable for me as I'm trying to setup passwordless email links which require deeplink functionality

argzdev commented 1 year ago

Got it. Thanks for confirming, @Technorocker. Let's keep this open.

While I’m unable to promise any timeline for this, if others find this useful, adding a thumbs up on this feature can help our engineers prioritize adding this to the roadmap.