Creating Custom Login logic

I have an App where I need to implement my own login logic. I need to replace the default login logic which is username and passwords and be able to login to the system using email or phone number which would then send an OTP and user has to enter it to login. I have been looking into and reading MFA module for sending OTPs, However that module still makes use of the default username and password fields. Does anyone know how to login using custom fields and without a password? 
1 answers

Hello Imran,


Basically for the custom field part, you can take a look how that is done with native applications.

You create basically your own page where you show your own (non) persistent entity and can add you own logic on the button to sign in;


hope this helps


Good luck