Logging in into an application becomes convenient with a mobile number. You just have to enter your mobile number, get an OTP and there you go – you are logged in.
Mobile-based login reduces the hassle of remembering the password for your account in the application. It is also a secure method as someone can steal your password and access your account. Your mobile number is with you and only you will receive the OTP for logging in.
Ruby on Rails application: Devise gem Integration
Devise is a flexible authentication solution for Rails development based on Warden.
Generally, devise uses email and password for login, but there may arise a situation where you want to login using a mobile number and password.