An open API service indexing awesome lists of open source software.

https://github.com/making/demo-two-factor-authentication

Two-Factor Authentication Demo with Spring Security
https://github.com/making/demo-two-factor-authentication

Last synced: 12 months ago
JSON representation

Two-Factor Authentication Demo with Spring Security

Awesome Lists containing this project

README

          

# Two-Factor Authentication Demo with Spring Security

Visit http://localhost:8080/signup to register for an account.

image

2FA is disabled by default.

image

Log out.

image

Log in again.

image

2FA is disabled, so login is successful with only username and password.

image

Enable 2FA.

image

Read the QR code using Google Authenticator.

![image](https://github.com/making/blog.ik.am/assets/106908/a1a51abd-6b93-4210-a004-75a801d04040)

Check the code.

![image](https://github.com/making/blog.ik.am/assets/106908/542691b9-f8d3-4a5a-bd0b-51a711f59fae)

Enter the code and click the verify button.

image

2FA has been enabled.

image

Log out.

image

Log in again.

image

This time, 2FA is enabled, so you will be asked to enter a code.

image

Check the code with Google Authenticator.

![image](https://github.com/making/blog.ik.am/assets/106908/3b1d7927-5c50-4732-a0dd-c4274934f4be)

Enter the code and click the verify button.

image

Login was successful.

image