Rails Tip #09 -- Twilio messaging service

in ruby •  6 years ago  (edited)

SMS service in your app

I was wondering, on how can I allow users to verify their phone numbers
then use 2-factor authentication via sms at crucial events in application
e.g when you are changing your password or when you are making a withdrawal
or other important events. where you really want user to verify themselves.
just to be more secure

gladly, i found this service, called "Twilio" and a guide too, which explains what you need to make it work in your rails programs.
start by adding gem to your gemfile. then carry on with the guide :)

gem 'twilio-ruby'

https://www.twilio.com/blog/2017/12/send-sms-ruby-rails-5-coffee.html

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Yes good

your thinking is perfect, I love it.