All Projects → TwilioDevEd → authy2fa-csharp

TwilioDevEd / authy2fa-csharp

Licence: MIT license
Two Factor Authentication example app in C#

Programming Languages

C#
18002 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

This example is deprecated, please see the updated version.

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].