This is a sample project to demonstrate the use of Spring Security 6 with Spring Boot 3 and Kotlin. It includes following features:
- Authentication and Authorization with JWT tokens
- H2 database to store data, so you don't need to set up any external database
- Automatically setup initial database so you can just run and play with the data
- Different endpoints for users and admins (Authorization)
Contributions are welcome! Please feel free to submit a pull request.
This project is licensed under the MIT License.