// Initialize Auth0 const auth0 = new auth0.WebAuth({ domain: 'your-auth0-domain.auth0.com', clientID: 'your-client-id', }); // Trigger passwordless email login auth0.passwordlessStart({ email: 'user@example.com', send: 'code', // You can also use 'link' for a magic link }, (err, res) => { if (!err) { // Passwordless email sent successfully } });