Is there a flow process for 2 factor Authentication that explains the process. Google Authenticator is used here.
For example ,
1. user is configured to use 2 Factor Authentication.
2. user logins in with username and password.
3.if successful then a QR screen is displayed for the user to enter code.
4.on submit the code the user is redirected to teh app and the code is verified.
5.if successful , user is allowed in.
What i dont get is the use of the "secret" and how it is used , where is it stored ?
So in between steps 2 and 3 I assume there must be something in the background that happens in order to generate the one time code , which I am trying to get a grip of in regards to a c# sample app .
Any ideas if there is a sample app that can help with this.