How to replace email with other type of login?

Hello! I need to remove logging in by email, instead I need to allow my users to login with their ID (Argentinian ID, for example: 44123478) and then their password.

What config should I touch to get this working? Thank you

Hi @byeze , welcome to the community!

As both email or username are treated as valid identifiers by Auth0, and there are currently no options for disabling email, the only way to stop users authenticating using their email would be to set up a Custom Database connection, which could in the login script, treat attempts to use the email address as invalid authentication.

If logging in with Email is acceptable still, then you could enable “Requires username” so new users had to provide their ID on signup. Existing users would not have a username (unless you have already added this), and so would need to have their profiles updated either manually / by a backend process or through progressive profiling via rules detecting a lack of username for a user.

I hope that helps, please feel free to raise desired features/enhancements here to help the Auth0 Product team prioritise new developments: Auth0: Secure access for everyone. But not just anyone.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.

Hey team!

This topic seems related to our new EA feature, Forms for Actions, which rolled out of the beta stage on May 7th. Our Product team prepared the whole Documentation page with examples of Use cases. Forms for Actions. If you find yourself having questions regarding this new feature for the next two weeks, we are hosting an Ask Me Anything session. Our Product Expert will provide comprehensive written answers on May 21st from 8 AM to 10 AM PST.
Find out more about Forms for Actions and learn more about AMA.

Thanks!
Dawid