In this lesson of our #springsecuritytutorial, we will take a look at the #2factorauthentication or also known as #mfa with #spring. This multi factor authentication with #SpringSecurity help us to add an additional layer of #security on the top of standard spring security #authentication. #twofactorauthentication, referred to as two-step verification or dual-factor authentication, is a security process in which users provide two different authentication factors to verify themselves. We will be using one external API to generate the TOTP and validate the #securitytoken. We will also be creating a custom authentication provider to hook the token validation in the authentication process. #multifactorauthentication #securityannotation #springsecuritycourse #springsecuritytutorials #security #springboot #springmvc #springframework #customauthenticationprovider #authenticationprovider #2fa #mfa Two Factor Authentication with Spring Security – https://www.javadevjournal.com/spring-security/two-factor-authentication-with-spring-security/ Spring Security Custom Authentication Provider – https://www.javadevjournal.com/spring-security/spring-security-custom-authentication-provider/ Additional parameter with spring security login page – https://www.javadevjournal.com/spring-security/pass-an-additional-parameter-with-spring-security-login-page/ Spring Security Roles and Permissions – https://www.javadevjournal.com/spring-security/spring-security-roles-and-permissions/ Spring Security Course – https://www.javadevjournal.com/spring-security-tutorial/