How To Secure Your Spring App With Multi-factor Authentication

preview_player
Показать описание
Hey friends! This is the long overdue follow-up to my TOTP tutorial. Using the latest Spring Boot and Spring Security versions, I show you how to implement Multi-Factor Authentication (MFA) based on time-based one-time passwords in this tutorial.

⚡ *Danger Zone*
This code disables some sensitive defaults in Spring Security. Don't just blindly copy the code as is! Make sure you know what you are doing and understand the implications. Also, if you spot any mistakes or you see me saying the wrong things, call me out for it in the comments!

🍃 *Code & Resources*

🙌 *Get in Touch*

🎙 *Gear & Links*

_I may earn a small commission for purchases made through the following links at no additional cost to you._

🍿 *Subscribe*
Want to see more tech tutorials? Subscribe now!
Рекомендации по теме
Комментарии
Автор

Thanks for the video! It`s very cool and useful =)

АлександрБугримов-ое
Автор

You have a very good content in here, I must say this is one of the best spring security tutorial on YouTube... But you didn't cover a case where the user removed the application from the authenticator. e.g I have been authenticated by application xyz and mistakenly removed xyz from my authenticator, how can one be reauthenticate so xyz is added again to the authenticator?

adeleyejeremiah
Автор

for me the application is not working as expected. Can you tell me what is the username password you are using and how to use spring mfa screen with ip address?

madhuppandey
Автор

Any pointer on what changes would be required when having a login page and (optionally) requesting the otp on the following page ?

Автор

what if a user lost his mobile phone and wants to reset mfa?

bharathimohan