We want to add on signup modal an extra field that lets users write a password once more to validate if it’s the same as the first one with following attribute.
additionalSignUpFields: [
{
name: “repeat_password”,
placeholder: “Re-enter your address”,
storage: ‘root’,
validator: function(repeat_password) {
const password = document.getElementsByName(“password”)[0]
return {
valid: password?.value && password.value === repeat_password,
hint: “Passwords do not match”
};
}
}
]
My question is,
is the data stored in root, repeat_password in this case, will be fetched by any of API provided by Auth0?
(Ideally this property should be password type but seems it’s not possible)