SMS Two Factor Authentication implementation with Servlets and Twilio.
-
First clone this repository and
cdinto it.$ git clone git@github.com:TwilioDevEd/sms2fa-servlets.git $ cd sms2fa-servlets -
Edit the sample configuration file
.env.exampleand edit it to match your configuration.Once you have edited the
.env.examplefile, if you are using a unix operating system, just use thesourcecommand to load the variables into your environment:$ source .env.exampleIf 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.