Open andreafalzetti opened 7 years ago
Same issue here. Did you solve it?
@ciokan yes I did. I figured it out only because I have created a thread in the auth0 forum and they have replied there, sorry if I forgot to paste their answer here, that would have been a good idea:
https://auth0.com/forum/t/lock-passwordless-module-returning-error/4940
In a nutshell, in order to use the lock-passwordless you have to downgrade the auth0-lock to a version lower than 10 (I am using "auth0-lock": "^9.0.1"
). Check if they have updated the lock-passwordless before doing this, the issue might be solved now.
Ok thanks
Facing the same issue, but with auth0-js
. Downgrading to 6.8.0
fixes it.
I am using the auth0-react-sample/01-Login - with the only change in
/utils/AuthService.js
instead of usingauth0-lock
I am usingauth0-lock-passwordless
.So my AuthService.js looks like this:
In
views/Login/Login.js
I have the following:After installing auth0-lock-passwordless with
npm install --save auth0-lock-passwordless
I get the version 2.2.3 and I runnpm start
- Loading http://localhost:3000 I get a white screen with the following error stackCan you please look into this? Am I doing something wrong?
Thanks