mtaa-diia / backend

Spring Boot backend
0 stars 0 forks source link

Two-factor authentication #9

Open sasetz opened 1 year ago

sasetz commented 1 year ago

The users need to be able to set up a two-factor authentication in order to better protect their accounts. For now, we can only implement the simplest TOTP (Google authenticator) method, so that we don't need to mess with phone numbers, emails and stuff Although, an email 2FA can be implemented as well, it is not as complicated

IlliaPonomarov commented 1 year ago

I suggest the first release firstly simple authorization and authentication, after we can decide about TF.

sasetz commented 1 year ago

I'm afraid this has to do with Spring Security, so I will have to pass this to you, @IlliaPonomarov, so I'm reassigning it to you. Here's a link that might be helpful: https://github.com/samdjstevens/java-totp/blob/master/totp-spring-boot-starter/README.md