@{ ViewBag.Title = "Index"; }

Double authentication test website

Welcome to the double authentication test website.
You can log-in with the following users :
login : "user1", password : "user1"
login : "user2", password : "user2"
login : "user3", password : "user3"


In order to login with user1 and user2, you have to set up an authenticator app : Microsoft Authenticator on Windows Phone, or Google authenticator on Android and iPhone.
The secret key is "AAAAAAAAAAAAAAAA" (16 'A') for user1,
and "BBBBBBBBBBBBBBBB" (16 'B') for user 2.
user3 doesn't have double authentication enabled, so you will be able to log in directly.

@using (Html.BeginForm("Login", "Home", FormMethod.Post)) {
Login :
Password :
}