On my Vue app, I have set up a registration form for user registration. On submit, I’m sending the user’s email and password to Auth0 as well, to create a user account simultaneously. Although it seems to be working, I receive a error in my console saying that the email option is required. So what is going wrong here and how can we fix it?
My code in my Vue register method:
var webAuth = new auth0.WebAuth({
domain: domain,
clientID: clientId,
});
webAuth.signup(
{
connection: "Username-Password-Authentication",
email: this.email,
password: this.password,
},
function (err) {
if (err) return alert("Something went wrong: " + err.message);
return alert("success signup without login!");
}
);
The error I receive in my console:
Regards,
Pablo