Embedded Passwordless Authentication for SPAs
Using Auth0's SDKs to implement Embedded Login
You can implement Passwordless Login using Auth0's Lock widget or if you need complete control of the user experience, you can implement it using Auth0.js:
Configure Cross-Origin Resource Sharing (CORS)
For security purposes, your app's origin URL must be listed as an approved URL. If you have not already added it to the Allowed Callback URLS for your application, you will need to add it to the list of Allowed Origins (CORS).