SMS Two Factor Authentication implementation with Servlets and Twilio.
-
First clone this repository and
cd
into it.$ git clone [email protected]:TwilioDevEd/sms2fa-servlets.git $ cd sms2fa-servlets
-
Edit the sample configuration file
.env.example
and edit it to match your configuration.Once you have edited the
.env.example
file, if you are using a unix operating system, just use thesource
command to load the variables into your environment:$ source .env.example
If you are using a different operating system, make sure that all the variables from the .env.example file are loaded into your environment.
-
Make sure the tests succeed.
$ ./gradlew check
-
Start the server.
$ ./gradlew appRun
-
Check it out at http://localhost:8080.
That's it!
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.