Closed carlHandy closed 4 years ago
Upgrade auth0-lock to 11.3. If you've already done that, your issue could be Chrome's lack of support for Access-Control-Allow-Origin on localhost. To solve that, you can add a fake domain to your /etc/hosts, or use another workaround from here: https://stackoverflow.com/questions/10883211/deadly-cors-when-http-localhost-is-the-origin
We had the same problem. With version 11 of auth0-lock, the filed Allowed Web Origins in auth0 dashboard is now required. To pass from 10 to 11, just npm install the correct version and complete the fied. This action doesn't appear yet in the readme of this repo.
Anybody knows how to fix this?