Built a JWT Authentication Starter for Spring Boot π
After setting up JWT authentication, filters, token validation, and Spring Security integration across multiple projects, I got tired of writing the same boilerplate over and over.
So I built jwt-spring-boot-starter.
What it provides:
- JWT token generation
- JWT validation
- Spring Security integration
- Automatic authentication filter
- Protected route handling
- Auto-configuration
- Java 21 support
- Spring Boot 4 support
The goal was simple:
Add a dependency, configure JWT properties, and have authentication working immediately.
Current roadmap:
- Role-based authorization
- Redis token blacklist
- Refresh token workflow
- RSA key support
- OAuth2 support
I'm looking for feedback from Java and Spring developers.
What features would you expect from a production-ready JWT starter?
Top comments (0)