Hi,
I’m creating a custom login with Lock. ( https://cdn.auth0.com/js/lock/11.32/lock.min.js). I’m using Auth0LockPasswordless
.
I’m trying to separate login and signup with passwordless, as explained here: Separate Passwordless Login and Signup.
So I’m doing a ternary selection on the option allowSignUp
. When I try to signup passwordless with the option allowSignUp:false
, a new user can register, when It shouldn’t.
Also on Auth0LockPasswordless
the option additionalSignUpFields
does not work:
Check the following example:
additionalSignUpFields: [{ type: "checkbox", name: "newsletter", prefill: "true", placeholder: "I hereby agree that I want to receive marketing emails from your company" }, { type: "checkbox", name: "terms", prefill: "true", placeholder: "I agree terms and conditions" }]
Thanks,
Mariano Vicario