I want to add a captcha functionality to my FirebaseUI email-based login to make it more difficult for bots and other abusers to log into my app.
I have investigated these:
This link describes how to add a captcha to FirebaseUI when signing-in with a phone number but in my app I use the email signin method. I have tried doing the same for the email method:
signInOptions: [
{
provider: authconst.EmailAuthProvider.PROVIDER_ID,
recaptchaParameters: {
type: 'image', // 'audio'
size: 'normal', // 'invisible' or 'compact'
badge: 'bottomleft' //' bottomright' or 'inline' applies to invisible.
},
},
],
But this wont trigger the recaptcha. How can I link the recaptcha to the email signing method?
Recaptcha verification is only available in the Phone provider for Firebase Authentication. There is no way to configure it for the email+password provider, and FirebaseUI is not set up to include a recaptcha in the email+password flow either.
If you want to require the users to sign in with email+password and require them to solve a recaptcha, you'll have to build that yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With