I am looking to use the new universal login experience to sign up and sign in users with the email + password method.
I need both of the following,
- Capture the first and last name of the users in addition to their email address
- Customise title and description text on the sign in / up pages
Is it possible to achieve both using the new universal method? If so, how?
You can add:
additionalSignUpFields: [{
name: "given_name",
placeholder: "Enter your First Name",
storage: "root",
validator: function(first_name) {
return {
valid: first_name.length >= 0,
hint: "Must have 1 or more characters"
};
}
},{
name: "family_name",
placeholder: "Enter your Last Name",
storage: "root",
validator: function(family_name) {
return {
valid: family_name.length >= 0,
hint: "Must have 1 or more characters"
};
}
}]
If you customise the login - this will capture first name and last name, and assign it to the account
1 Like
Thanks for sharing it with the rest of community Alex!
system
Closed
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.