Change username and password field icons in Lock

Problem statement

Is it possible to change the username and password field icons in Lock?

Solution

Auth0 does not offer any configuration options for Lock that allow you to set custom icons for the username and password fields. It’s only possible to set a custom icon for additional signup fields:
https://auth0.com/docs/libraries/lock/lock-configuration#additionalsignupfields-array-

It may be possible to use JavaScript to replace the icons. But depending on your use case, it may not be worth the additional complexity.