firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

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

Open Technorocker opened this issue 2 years ago • 7 comments

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

Technorocker avatar Mar 27 '23 15:03 Technorocker

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

google-oss-bot avatar Mar 27 '23 15:03 google-oss-bot

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.

argzdev avatar Mar 27 '23 16:03 argzdev

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: @.***>

Technorocker avatar Mar 27 '23 16:03 Technorocker

Sure, let me know it if helps!

argzdev avatar Mar 27 '23 16:03 argzdev

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

Technorocker avatar Mar 27 '23 17:03 Technorocker

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.

argzdev avatar Mar 27 '23 18:03 argzdev

I have the same issue. It’s taking me days to implement my auth flow because I can only test my flow like 5 times a day - very frustrating that nothing was done in 2 years. I tried the emulator as well, but it’s no use for this case. Please consider prioritizing it or let us know if there is a workaround in the meantime. Thanks!

steffen-klima avatar Sep 24 '25 16:09 steffen-klima