How to remove captcha verification from Firebase phone auth using javascript?

前端 未结 5 2307
灰色年华
灰色年华 2020-12-18 18:56

I am using firebase phone auth for the very first time and I see captcha verification is must proceed with the process, as per firebase official documentation. Though it ser

5条回答
  •  忘掉有多难
    2020-12-18 19:32

    Firebase provides two properties for captcha size

    1. Normal - which is visible and captcha code visible to the user and manually perform the captcha process.
    2. Invisible - which is invisible to the user, automated captcha process, and code will auto render in DOM.
    window.recaptchaVerifier = new firebase.auth.RecaptchaVerifier(
        "recaptcha-container", {
            size: "invisible"
        }
    );
    

    For more details, refer to this Official Link

提交回复
热议问题