Skip to content

SenseiCris/sms2fa-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilio

SMS Two-Factor Authentication

Build status

SMS Two-Factor Authentication (SMS-2FA) helps keep your user accounts secure by validating two "factors" of identity. Most login systems only validate a password known by the user. You can make it harder for evildoers to compromise a user account by also validating something a user has, such as their mobile phone.

Read the full tutorial here!

Local development

This project is built using ASP.NET MVC Framework.

  1. First clone this repository and cd into it.

    git clone [email protected]:TwilioDevEd/sms2fa-csharp.git
    cd sms2fa-csharp
  2. Rename the sample configuration file and edit it to match your configuration.

    rename SMS2FA.Web\Local.config.example SMS2FA.Web\Local.config

    You can find your AccountSid and AuthToken in your Twilio Console. You will also need a TwilioNumber, you may find it here.

  3. Build the solution.

  4. Create database and run migrations.

    Make sure SQL Server is up and running.
    In Visual Studio, open the following command in the Package Manager Console.

    Update-Database
  5. Run the application.

  6. Check it out at http://localhost:50046.

Meta

  • No warranty expressed or implied. Software is as is. Diggity.
  • MIT License
  • Lovingly crafted by Twilio Developer Education.

About

SMS Two Factor Authentication implementation with ASP.NET and Twilio

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 81.2%
  • JavaScript 18.5%
  • Other 0.3%