Hi, I have an existing login page all set up with auth0. Whenever a user tries to log in from the app it works as expected ie redirecting and authenticating but a code(OTP) is sent to the user’s email address. However, what I want is to send the user a Link as the docs.
Please how do I solve this problem?
I have even changed the passwordless template to include passwordLessMethod: "link" NOT WORKING
I am using auth0-react, is there a way I can run the code instead?
// Send a link using email
webAuth.passwordlessStart({
connection: 'email',
send: 'link',
email: 'USER_EMAIL'
}, function (err,res) {
// handle errors or continue
}
);
Thanks, @rueben.tiow it worked, but I noticed I am not getting the users verified like ie sending a code that the user’s email with a magic link when they click the link it redirects the user to the homepage and not the dashboard as I expected, this behavior worked perfectly with
passwordlessMethod: 'code' // authenticates and redirects to dashboard
Do you think I need to setup something from auth0’s dashboard?