Auth0 Home Blog Docs

Hosted login passwordless cannot get /wsfed


Trying to use email-based passwordless through a React SPA but after calling auth0.authorize I get stuckon cannot get /wsfed. Am I missing something here? I’ve seen a number of people with similar problems, but usually with native, or something about a recent bug fix? Nothing seems to be working for my case. I’ve tried using the default passwordless template in the hosted page as well as a custom template that combines passwordless and standard lock depending on the connection passed in.

Here’s how i’m using auth0 in the spa:

auth0 = new auth0.WebAuth({
domain: 'mydomain',
clientID: 'clientid',
redirectUri: 'myredirecturi',
audience: 'myserverdomain',
responseType: 'token id_token',
scope: 'openid profile'
this.auth0.authorize({connection: 'email'});

Thanks for any help anyone can give


Do you have any error message?


No errors in the SPA before the redirect. Just the wsfed page error.
I ended up working around this by just not passing the connection parameter. Seems like when connection=email was passed is when it would have an issue. Since I need to be able to use multiple connections I just decided to pass a custom param to the hosted page rather than connection and this seems to work.