Otp generation for mobile number authentication in Ionic 2

I am trying to implement OTP generation using Mobile number for login authentication
how to do ?

You should have the following steps to follow.

  • Backend/frontend to generate OTP.
  • Sms service to be implemented at the backend(server)
  • Once you have done with the above steps you can continue your logic based on requirement.