Initialize Recaptcha Config

Use the initializeRecaptchaConfig method to configure reCAPTCHA for web-based Firebase Authentication operations, such as phone number authentication.

Method

await FirebaseApp.firebaseAuth?.initializeRecaptchaConfig(siteKey);

Parameters

  • siteKey (String): The reCAPTCHA site key to be used for verification.

Return

  • void: This method does not return a value.

This method sets up reCAPTCHA for use in web-based authentication flows, such as verifying phone numbers.

Last updated