Two Factor Authentication
Conclusion to authenticator
In the last two blogs in this series, I showed you how to use two-factor authentication with Google.
When the websites loads, complete the registration form and click the button.
Once you are registered, you can now log into the site.
When you log in to the website, you will see the QR image on the screen; you will need to download the 'Authenticator' from the Play Store and install it on your phone.
Once you have done that, open the app and follow the on-screen instruction, then when prompted, scan the barcode with your phone.
If all goes to plan, you should see a code to enter in the textbox on the webpage.
You can see the screenshot of my phone with the code I need to enter into the text box on the webpage.
Enter the code into the text box and click the button.
If everything goes to plan, you should now see the profile page with a simple message and your name displayed.
If everything goes ok, you should now see the profile page with the name you entered when creating the account.
This blog was in three parts and showed you how to use two-factor authentication with Google. It started with the view models and controllers and how to send the confirmation email.
In the second post, I carried on from the first and showed how to encrypt the user email and hash the password before using the data access layer to store the data in the database.
Then is this post I showed how it all worked when put together, some sections were not added to this blog, such as authenticating the user email. That can be for a future a post.
I hope you enjoyed this post, and if you have any questions, please use the form below.