How to add a custom field for universal login?

Hi,

I’m using the Universal login for Auth0 authentication.I’m using the Auth0 PHP SDK for my project. I want to add custom fields for my universal signup widget. There are many articles about Auth0 Lock UI customization. Migrate to the Auth0 Lock is much rework to do. I just want to know is there any way to add custom fields for the universal login page with Auth0 PHP SDK.

Thanks!

Hey there!

I’m not a PHP pro but will try to help. Basically all of our SDKs including the PHP one are the main layer to easily interact with our Authentication and Management APIs so that you don’t have to craft each request yourself. So this way you won’t be able to achieve directly what you want. If you don’t want to use Lock you can go for doing it through the API.

Here’s the doc on how to achieve this: