Auth0 Home Blog Docs

Passwordless - HTTP 400 Error for /passwordless/verify

passwordless
verify
400
sms-email

#1

I added passwordless sms/email functionaloty with hosted login option and when i’m trying to enter the code.
I’m getting 400. Did anybody encountered this?
This is the code for triggering the hosted page.

var webAuth = new auth0.WebAuth({
domain: AUTH0_DOMAIN,
clientID: AUTH0_CLIENT_ID,
redirectUri: AUTH0_CALLBACK_URL,
responseType: ‘token id_token’,
scope: ‘openid’,
leeway: 60
});

[Error] Failed to load resource: the server responded with a status of 400 (HTTP/2.0 400) (verify, line 0)

I also created a new account and tried with Auth0 jquery/nodejs samples and they have some problems.
/passwordless/verify Origin http://localhost:3000 is not allowed by Access-Control-Allow-Origin.
And i added the localhost to Allowed Web Origins and it is still shows the same error in console.