Skip to main content

Subscribe to GoRails to get access to this episode and all other pro episodes, and new awesome content every month.

Subscribe Now
Only $19/month

Unlimited access. Cancel anytime.

18 Common Features:

Two Factor Authentication With Devise

Episode 214 · November 7, 2017

Using the devise-two-factor gem, we can add an extra layer of security to our apps by having a our users type in a one-time password along with their email and password when they login. We'll be using the Google Authenticator app to login.

Security Authentication


Subscribe or login to view the transcript for this episode.



Was looking at this the other week... perfect timing Chris. Legend.

Naga Krushna Yelisetty

Hi i'm getting this error when entering 2fa and after click login
Help me
Please check my code

https://uploads.disquscdn.c... '


Your code snippets use of the incorrect unicode quote characters just wasted me a lot of time in debugging. Need to fix that.

Login or create an account to join the conversation.