What is the shortest way to implement 2FA with Angular and Spring

Asked

Viewed 144 times

0

I am using the two technologies mentioned above and would like to know if you know any library, framework or functional example that facilitates the implementation of an authentication in two factors with this concept of TOTP (Dynamic and temporary passwords understood correctly) Currently I use a simple authentication with Spring Security based on user and password even from the bank and also make available authentication via google through a native Angular library that allows me to save such users in my base, however unfortunately this library (angularx-social-login) seems to offer nothing ready when it comes to authentication with two factors, whether via SMS, token, email or any other approach I wonder if I can have a 2FA POC after my normal log flow with some library or facilitator within these two technologies I mentioned or if I will have to follow articles to assimilate all concepts and manually implement all the necessary infrastructure to have this kind of functionality I imagine that there is something ready at least for this part of QR code reading and token issuance with a Google Authenticator, however everything I found in searches seemed a little verbose beyond the necessary and outdated or even used different technologies, you know something about the scope of Angular or Spring?

  • There is nothing ready just to plug in and use, there are libs to validate Totps generated by authenticators, but you must encode validations and flows.

  • Can you give me the name of one of these libraries?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.