Giter Site home page Giter Site logo

maxgrok / account-security-quickstart-rails Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twiliodeved/account-security-quickstart-rails

0.0 2.0 0.0 75 KB

A simple implementation of a Twilio Account Security protected site using Ruby on Rails.

License: MIT License

Ruby 51.75% JavaScript 9.21% CSS 0.84% HTML 38.20%

account-security-quickstart-rails's Introduction

Twilio Logo

Twilio Account Security Quickstart - Twilio Authy and Twilio Verify

A simple Ruby on Rails implementation of a website that uses Twilio Authy Two-factor Authentication to protect all assets within a folder. Additionally, it shows a Twilio Verify Phone Verification implementation.

It uses four channels for delivery, SMS, Voice, Soft Tokens, and Push Notifications. You should have the Authy App installed to try Soft Token and Push Notification support.

This app uses SQLite as a data store. You will have to install SQLite as well and make sure it is running.

Two-Factor Authentication Demo

  • URL path "/protected" is protected with both user session and Twilio Authy Two-Factor Authentication
  • One Time Passwords (SMS and Voice)
  • SoftTokens
  • Push Notifications (via polling)

Phone Verification

  • Phone Verification
  • SMS or Voice Call

Setup

  1. Clone this repo

    git clone https://github.com/TwilioDevEd/account-security-quickstart-rails.git
    cd account-security-quickstart-rails
  2. Run bundle install

  3. Register for a Twilio Account.

  4. Setup an Account Security app via the Twilio Console.

  5. Create your application.yml file from the existing example in config/application.example.yml

    cp config/application.example.yml config/application.yml
  6. Generate an Application API KEY from the Dashboard and paste it in .env

  7. Check and make sure SQLite is up and running

  8. Run bin/rails db:migrate to create the tables

  9. Run bin/rails server to start the server

License

  • MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.