Posts

Authy 2FA Automated Testing Framework

When developing a system that provides two-factor authentication capabilities it's always nice to see things working in an unit or functional testing. But, when you need to run automated integrated tests that doesn't seem to be an easy task as it might be dependent on other factors like sending and receiving SMS messages for example.

With that in mind, we have created an extensible framework for you to test your applications being deployed with Authy OneCode and Authy Phone Verification for the delivery of the one-time passwords and tokens via SMS.
The framework can be found here and it's completely free and open source.

Some of the tasks that the 2FA Automated Testing Framework is able to help you with are:


Acquire a new Twilio Number (or use an existing one)Setup a Webhook URL for the Twilio Number to forward the SMS messages generated and delivered by Authy OneCode and/or Authy Phone Verification. You can also set the framework to poll for SMS messages on your Twilio Num…

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!

Using the Ionic Framework with Oracle Mobile Cloud Services (MCS)

One of the goals of the Oracle Mobile Cloud Service (MCS)  is to be client agnostic. So, you should be able to connect to your MCS hosted mobile backend from any client technology out there.

If you are a JavaScript developer you might be familiar with the very popular Ionic Framework.

Now, if you want to use an Ionic-based mobile app with the Oracle Mobile Cloud Service backend we have created a starter project for you that will show you how to perform the basic tasks and get you going in no time.

Have a look or clone the following GIT repo: https://github.com/mjabali/ionic-starter-mcs

The Readme file provides the instructions on how to get started with this sample.

Have fun!

Developing against Oracle Mobile Cloud Service (MCS) with Oracle Enterprise Pack for Eclipse (OEPE) and the Mobile Application Framework (MAF)

Image
If you want to get started developing against the Oracle Mobile Cloud Service (MCS) using the Oracle Enterprise Pack for Eclipse (OEPE) and the Mobile Application Framework (MAF) here is a quick demonstration for you to get a feel and see how quick you can get things done.
In the following 5 min. demonstration you'll see how to setup a new MAF application, connect to the Oracle Cloud from Eclipse, search for the mobile backend you're interested on, import the API definition to your app, generate the required data controls, populate a new page with data and deploy to the Android emulator.

Have fun!


Getting Started with Oracle Enterprise Pack for Eclipse and Mobile Cloud Service APIs

There is a recent uploaded Oracle Mobile Cloud Service (MCS) tutorial that walks you through the process of connecting Oracle Enterprise Pack for Eclipse (OEPE) to the MCS APIs.

There are 6 steps involved on this tutorial and you will:
Start Eclipse and configure it to work with Oracle Mobile Application Framework (MAF)Create a new mobile application, a new feature and a page to hold dataConnect the MAF-based application to an MCS instanceGenerate the Java classes to support the exposed MCS REST APIDevelop a new page by adding data and security settingsPackage, deploy and test the application The tutorial can be accessed here: http://docs.oracle.com/cd/E65774_01/tutorials/tut_mcs_oepe/tut_mcs_oepe_1.html
Enjoy!