Skip to content
This repository was archived by the owner on Aug 5, 2024. It is now read-only.

About

Combining Rails, Device and the Nexmo Verify API to implement two factor authentication

Resources

Stars

1 star

Watchers

4 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

Nexmo Rails 2FA Demo

A demo that implements 2-factor-authentication in Rails using Device and the Nexmo Verify API.

Tutorial: Two Factor Authentication (2FA) in Ruby on Rails with Devise and Nexmo Verify

Kittens and Co 2FA Flow

Basic Login - basic-login branch

The basic-login branch is the starting point of the tutorial and is just a simple Rails 4 app Device and Bootstrap to provide a simple app with a login.

Usage

  • Clone this repository
  • Run git checkout basic-login
  • Run bundle install
  • Run rails server
  • Visit http://localhost:3000/
  • Register and login

Two Factor Authentication - two-factor branch

The two-factor branch is the end point of out tutorial, adding a before_filter two our basic login and verifying a user's identity using their phone number.

The differences between these two branches can be seen here and in our in-dept tutorial.

Usage

License

This sample is released under the MIT License

About

Combining Rails, Device and the Nexmo Verify API to implement two factor authentication

Resources

Stars

1 star

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages