mKurrels / Authy-demo

A simple implementation of an Authy protected site using NodeJS and AngularJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authy

Authy Demo Site - 2FA and Phone Verification

A simple NodeJS and AngularJS implementation of a website that uses Authy to protect all assets within a folder. Additionally, we have a simple Phone Verification demo website. This app uses MongoDB as a data store. You may have to install that as well and make sure it is up and running.

2FA Demo

  • URL path "/protected" is protected with both user session and Authy 2FA
  • Authy OneCode (SMS and Voice)
  • Authy SoftTokens
  • Authy OneTouch (via polling)

Phone Verification

  • Phone Verification
  • SMS or Voice Call

Setup

  • Clone this repo
  • Run npm install
  • Register for a Twilio Account.
  • Setup an Authy app via the Twilio Console.
  • Grab an Authy API key from the Authy dashboard and save it in your demo.env
  • Load the demo.env environmental variables into your shell source demo.env
  • Check and make sure MongoDB is up and running
  • Run nodemon . or node . from the cloned repo to run the app

License

  • MIT

About

A simple implementation of an Authy protected site using NodeJS and AngularJS


Languages

Language:HTML 50.1%Language:JavaScript 49.8%Language:Batchfile 0.1%