Skip to content

Tags: mjg123/Spring-Boot-2FA

Tags

start-here

Toggle start-here's commit message
Adds User registration/login flows

There is one hard-coded user `user123` with a terrible password.

New users can register and log in.

registration-done

Toggle registration-done's commit message
2FA code for user registration

A secret is now generated for each user when they register, persisted in
the DB and shared on the "thank you for registering" page.

Users can scan the QR code with their authenticator app, but it's not
(yet) needed for logging in.

login-done

Toggle login-done's commit message
Login phase is DONE

Users will now need to use the 2FA code from their app when they log
in.

hibp

Toggle hibp's commit message
Prevents users registering with pwned passwords

WebController calls the ;--haveibeenpwned API and rejects registration if the password is found there