Node.js

Try it out!

First, stop any running instances of your application then run your program again using:

node server.js

Visit http://localhost:3000 in your browser and click the "Verify me" button:

The home page
The home page

Enter your mobile number in E.164 format and then click the "Get Verification Code" button:

Entering your mobile number
Entering your mobile number

You will shortly receive an SMS at that number, containing a code. Enter the code and click "Verify me!":

Entering the PIN code
Entering the PIN code

You should be returned to the home page and, if you entered the number correctly, it will be displayed:

Successful authentication
Successful authentication