Hi, on this page: https://forms.auth0.dev/
there is the first example of “Enriched Signup” where the signup fields (name, password) are on the same form with the other custom fields. I couldn’t find in the docs a way to do it, and there’s no code given for the examples there. Is it possible to do with Forms?
Thanks!
Hi @uribeamr
Welcome back to the Auth0 Community!
The example you have linked in the post is just a visualization of what can be accomplished using the Auth0 Forms feature.
You can review the documentation regarding Forms in order to familiarize yourself with the feature so that you will be able to implement it for your applications.
If you have any extra questions regarding the matter, feel free to leave a reply on the post.
Kind Regards,
Nik
Hi Nik,
Thanks for the reply, but that doesn’t answer my question… I can see that it is a visualization, but the question is, can it actually be realized using Forms?
It doesn’t seem possible to me, to add fields to the login/signup page itself… seems possible only to add extra pages with custom fields, which only get triggered after the actual login/signup.
So I think the example/visualization is wrong or misleading, unless I missed something.
Hi @uribeamr
As I have mentioned in my initial reply, it is an example of what can be accomplished, so to answer your question, it basically can be realized using forms, however it does not change the actual login/sign-up page, it only adds an additional page/form after authentication is performed. By assigning a form to a Post-Login Action, it will trigger even on signup.
However, in that example, you can remove the password field from the form since if your users are authentication with Email + Password or Passwordless, it will be a redundant step.
You can view this documentation regarding Configuring Additional Signup Steps
Here is an example on my tenant on how the form was set up the and result during login.
You can customize the interface via the Branding option on the top left menu inside the Form page using CSS.
If you have any other questions, do not hesitate to leave a reply on the post!
Kind Regards,
Nik
Hi Nik,
your example seems to not replace the signup form (with email/name + password), but it is an additional form, which as you say only happens post-login. and the doc page you linked to is for “Additional Signup Steps” - not for adding fields to the first signup step.
I don’t want the user to see first the signup form with email + password fields, and then move to a second step with additional fields.
I just want one form which has both the signup fields (email & password), and also has additional fields in the same form - authentication should only happen when this form is submitted.
But I guess that the “enriched signup” example is meant to show the same thing as your example, and that I misunderstood the purpose.
Thanks for the detailed and quick response!
Hi @uribeamr
Indeed, the forms will add additional steps.
If you are looking to add additional fields in the initial login/sign-up page, please refer to this knowledge article regarding Configuring Additional Sign-up Fields For Universal Login.
If you want to use the Classic Login, you can refer to our documentation about Lock Configuration Options.
To customize the Classic Login page you will need to go to Dashboard → Branding → Universal Login → Login (tab) → Ensure you have “Customize Login Page” enabled → Modify HTML.
Alternatively, for the New Universal Login, please read our documentation about Setting Prompts which will allow you to add additional fields via partials on the login/sign-up using the Management API.
Hope the information provided above is suitable for your use case, if you need extra help, feel free to reply back.
Kind Regards,
Nik
Thank you very much Nik, that’s very useful info & links
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.