https://github.com/ali-bouali/tfa-spring-boot-3-angular
Two Factor Authentication Flow with Spring boot 3 and Angular
https://github.com/ali-bouali/tfa-spring-boot-3-angular
Last synced: 6 days ago
JSON representation
Two Factor Authentication Flow with Spring boot 3 and Angular
- Host: GitHub
- URL: https://github.com/ali-bouali/tfa-spring-boot-3-angular
- Owner: ali-bouali
- Created: 2023-08-05T09:37:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T17:48:06.000Z (about 2 years ago)
- Last Synced: 2025-07-07T04:42:11.761Z (3 months ago)
- Language: Java
- Size: 327 KB
- Stars: 34
- Watchers: 3
- Forks: 27
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot 3.0 Security with JWT Implementation
This project demonstrates the implementation of security using Spring Boot 3.0 and JSON Web Tokens (JWT). It includes the following features:## Features
* User registration and login with JWT authentication
* Password encryption using BCrypt
* Role-based authorization with Spring Security
* Customized access denied handling
* Logout mechanism
* Refresh token## Technologies
* Spring Boot 3.0
* Spring Security
* JSON Web Tokens (JWT)
* BCrypt
* Maven
## Getting Started
To get started with this project, you will need to have the following installed on your local machine:* JDK 17+
* Maven 3+To build and run the project, follow these steps:
* Clone the repository: `git clone https://github.com/ali-bouali/spring-boot-3-jwt-security.git`
* Navigate to the project directory: cd spring-boot-security-jwt
* Add database "jwt_security" to postgres
* Build the project: mvn clean install
* Run the project: mvn spring-boot:run-> The application will be available at http://localhost:8080.