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

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

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)