Auth0 Home Blog Docs

webAuth.passwordlessVerify always fail to verify user



I am using sms passwordless to log in, and I can receive the sms code successfully.
In addition, I have added my domain to both ‘Allowed Origins (CORS)’ and Allowed Web Origins’.

However, when I call the method webAuth.passwordlessVerify, I will receive the error message below

“Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://my-domain’ is therefore not allowed access.”

I am current using auth0 js (version 9.2.0), which is the latest version
Does any one can help on this ?


Install CORS extension of chrome and enable it. Now test it in chrome browser, it will work.