Try to use Passwordless connection with SPA

I want to use Passwordless Connection with Email.
When I use the button try I received a link but it doesn’t work. I get this error:
ERROR [auth] Failed to handle callback from auth0 [error]: Invalid request, an initial state could not be found

The link is well formed (I think):
https://devdomain.auth0.com/passwordless/verify_redirect?scope=openid&response_type=token&redirect_uri=https://d111111.cloudfront.net/api/auth/auth0/callback&verification_code=007&connection=email&client_id=123123&email=xxxx@email.com

Domain: devdomain.auth0.com
Allowed Callback URLs: https://d1111111.cloudfront.net/api/auth/auth0/callback,
Allowed Logout URLs: https://d1111111.cloudfront.net/,
Allowed Web Origins:
Allowed Origins (CORS):

Hi lanulledu28,

Have you tried it with your original application? I believe the application’s state validation fails because authentication started from the “Try” option instead of the application itself.

Let us know your observations. Thanks!

1 Like

Yes I tried with my own application and I have the same error. What could be the cause of this error?