https://github.com/michaelodusami/spring-tdd-jwt_auth
jwt authentication fully tested
https://github.com/michaelodusami/spring-tdd-jwt_auth
java jwt-authentication spring spring-boot
Last synced: 10 months ago
JSON representation
jwt authentication fully tested
- Host: GitHub
- URL: https://github.com/michaelodusami/spring-tdd-jwt_auth
- Owner: michaelodusami
- Created: 2024-12-24T20:50:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-24T21:02:59.000Z (over 1 year ago)
- Last Synced: 2025-08-22T00:24:15.159Z (10 months ago)
- Topics: java, jwt-authentication, spring, spring-boot
- Language: Java
- Homepage:
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JWT Authentication Template in Spring Boot
This is a boilerplate template for implementing JWT (JSON Web Token) authentication in a Spring Boot application. It provides a secure and efficient way to authenticate and authorize users, ensuring only authenticated users can access protected resources.
## Features
- User authentication using JSON Web Tokens (JWT).
- Role-based access control.
- Secure endpoints for login, registration, and protected resources.
- Refresh token support.
- Easily configurable and extendable.
## Prerequisites
Before using this template, ensure you have the following installed:
- **Java 17 or later**
- **Maven 3.6+**
- **PostgreSQL/MySQL/Other database** (optional for user storage, can use H2 for quick setup)