Skip to content

turgayacar/authy2fa-csharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twilio

Two-Factor Authentication with Authy

This application example demonstrates how to use Authy as the two-factor authentication provider in an ASP.NET MVC project using ASP.NET Identity.

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/authy2fa-csharp.git
    cd authy2fa-csharp
  2. Rename the sample configuration file and edit it to match your configuration.

    rename Authy2FA.Web\Local.config.example Authy2FA.Web\Local.config

    You can find your Authy API Key in your Authy Dashboard.

  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:49217.

  7. Expose application to the wider internet. To start using ngrok on our project you'll have to execute the following line in the command prompt.

    ngrok http 49217 -host-header="localhost:49217"

Meta

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

Releases

No releases published

Packages

No packages published

Languages

  • C# 89.5%
  • JavaScript 9.9%
  • Other 0.6%