devise-two-factor | Barebones two-factor authentication with Devise | Authentication library
kandi X-RAY | devise-two-factor Summary
kandi X-RAY | devise-two-factor Summary
Barebones two-factor authentication with Devise
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of devise-two-factor
devise-two-factor Key Features
devise-two-factor Examples and Code Snippets
Community Discussions
Trending Discussions on devise-two-factor
QUESTION
I have been using the devise-two-factor gem on my devise user model. When I try to remove the gem from the model, I get the following error when creating a user record:
ActiveModel::UnknownAttributeError: unknown attribute 'password' for User. c:/test_app/db/seeds.rb:6:in
' bin/rails:4:in
require' bin/rails:4:in `'
Here is my previous devise integration in my model:
...ANSWER
Answered 2017-May-14 at 21:03QUESTION
I have already implemented two-factor authentication using the tinfoil gem in Rails. It's using Google Authenticator to display the verification code to the user.
I would also like to implement sending the verification code to the user via SMS. I am wondering what is the best solution for this?
I have also searched around and found free SMS services for Rails like SMS FU and SMS-easy, but it seems like the gems are not active and they don't support a lot of the UK carriers.
So, should I resort to paid service like twilio?
...ANSWER
Answered 2017-May-15 at 22:59Twilio developer evangelist here.
For something important like two factor authentication, where you need the messages to arrive or your user cannot log in, then I highly recommend a paid service.
StackOverflow is not exactly the right site to be asking for opinions on this sort of thing, it is more for code issues that can be solved. However, if you are interested in using Twilio for this and you find yourself with any questions about the service, you can contact me directly at philnash@twilio.com.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install devise-two-factor
encrypted_otp_secret
encrypted_otp_secret_iv
encrypted_otp_secret_salt
consumed_timestep
otp_required_for_login
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page