Example Login with Spring Boot, Spring Security and MySQL in AWS RDS. And recover password by email.
USE:
spring-boot-starter-thymeleaf
thymeleaf-extras-springsecurity5
spring-boot-starter-web
spring-boot-devtools
Lombok
spring-boot-starter-security
spring-boot-starter-validation
spring-boot-starter-data-jpa
mysql-connector-java
spring-boot-starter-mail
You must configure the connection to your database and the sending of email. You must generate an application password