devise-two-factor icon indicating copy to clipboard operation
devise-two-factor copied to clipboard

Example app with two-auth login form on separate page.

Open ACPK opened this issue 9 years ago • 3 comments

ACPK avatar May 31 '16 23:05 ACPK

Um this is how I did it. First step is an AJAX call checking whether the user has otp enabled, then the second step is the actual devise session#new.

Sample code at tommyku/blog3_lab-two_step and the blog post.

tommyku avatar Jul 04 '16 14:07 tommyku

This has been extensively discussed on #14, although there’s not a definitive answer or example there, you will find some good pointers.

daninfpj avatar Mar 21 '18 20:03 daninfpj

I've consolidates some of the pieces of advice in the various comments from #14 into the following step by step guide with a sample project: https://www.jamesridgway.co.uk/implementing-a-two-step-otp-u2f-login-workflow-with-rails-and-devise/

jamesridgway avatar Jun 08 '20 07:06 jamesridgway