DEV Community

Cover image for Spring Boot 3 JPA + Auth + JWT

Posted on


Spring Boot 3 JPA + Auth + JWT


After the new release of spring boot 3, it was really hard to find tutorials on JWT Auth with real database user creation and role based authentication on Rest API.

I have created this repo for Spring Boot 3 latest release.
It's a simple implementation of Spring Boot 3 JPA + Auth + JWT with PostgreSQL database.

The app also uses Http-Only Cookies to set and authenticate REST API endpoints.

The app uses Spring Web, Spring Security, Spring JPA, PostgreSQL, jjwt and lombok dependencies.

Lombok is a gem for every spring boot developer.😉
The app uses Graalvm Native Image too.🎉

GitHub Repo: Spring-Boot-3-Auth-JWT-Cookie-JPA

Top comments (0)

Advice For Junior Developers

Advice from a career of 15+ years for new and beginner developers just getting started on their journey.