Cannot seem to use renderPasswordlessCaptcha #1455
Labels
bug
This points to a verified bug in the code
Content-Length: 203823 | pFad | http://github.com/auth0/auth0.js/issues/1455
94Fetched URL: http://github.com/auth0/auth0.js/issues/1455
Alternative Proxies:
Checklist
Description
Reading Auth-0's documentation on "Add Bot Detection to Custom Login Pages," they mention that we can use the renderPasswordlessCaptcha function to append a captcha challenge to a document element. Reading your documentation, I can see that there is a mention on https://auth0.github.io/auth0.js/WebAuth.html#renderPasswordlessCaptcha about using that same function to render a captcha challenge. Whenever I try to append the captcha element to a div element using renderPasswordlessCaptcha, I get the following error shown in the console:
I initialize the WebAuth instance using:
export const webAuth0Instance = new auth0.WebAuth(auth0Config); and as such, I am able to run a variety of functions including, but not limited to:
Furthermore, on the official readme page: https://github.com/auth0/auth0.js#readme there is no mention of any captcha functions other than
so I am wondering if your official docs page: https://auth0.github.io/auth0.js/WebAuth.html is out of date or what?
Furthermore #2: the @types package for this module also doesn't list any captcha functions other than renderCaptcha: https://www.npmjs.com/package/@types/auth0-js
Can someone tell me how I can achieve a passwordless captcha flow using your package, and if it's even possible?
Reproduction
Additional context
No response
auth0-js version
9.26.1
Which browsers have you tested in?
Chrome
The text was updated successfully, but these errors were encountered: