Posts

Showing posts from 2016

Getting Started with Authy Two-Factor Authentication in Node.js and AngularJS

If you are planning to use Two-Factor Authentication in your application or getting started with the technology, this is definitely for you. 

This simple implementation of a web application based in Node.js and AngularJS will show you how to use Two-Factor Authentication and protect assets. As a bonus feature we also have a simple Phone Verification API sample application that allows you to verify the user has the device on their possession.

To download or clone this sample application go to: https://github.com/AuthySE/Authy-demo

To get started, make sure you have Node.js and MongoDB installed and ready to go.

Follow these instructions to get up and running:
Clone the repoRun npm installRegister for a Twilio AccountSetup an Authy application via the Twilio ConsoleCopy the Authy API Key from the Authy Dashboard and save it in your demo.env fileMake sure your MongoDB instance is up and runningRun node . from the cloned repo to start the app Have fun!

How to Prevent Sublime Text from Opening Files at Startup

If you don't like the Sublime Text default behavior of opening files from your last session, here is a little trick for you.

Go to Preferences --> Settings - User and add the following settings:

"remember_open_files": false, "hot_exit": false
Then, all you have to do is to restart Sublime Text one more time.

This has been tested with Sublime Text 2 but it should work with ST 3 as well.

Two-Factor Authentication with Authy REST APIs

Ahoy! I've recently joined Twilio as a Solutions Architect in the Authy team and got my hands right away on the REST APIs we provide you to make it easier to get started with Two-Factor Authentication. Then, I put together a set of scripts that you can use to get started, test and play around with the API request and response.

Feel free to clone the GitHub repo and provide feedback if you want.

https://github.com/mjabali/Authy-API-Samples

Have fun!