Adding Custom Fields to the Signup/Login Widget when Using Classic Universal Login
Last Updated:
Overview
Applies To
- Signup/Login Widget
- Classic Universal Login
Solution
To add custom fields to a signup widget, a signup screen can use the additionalSignupFields option in the Auth0 Dashboard > Universal Login > Login. Each option added in this manner will then be added to that user’s user_metadata after a successful signup.
For more details refer to Lock Configuration Options.
A login screen on the other hand, cannot contain added inputs. An alternative is to request the user to provide additional information after they sign up or log in.