DEV Community

Cover image for Spring Boot 3 JPA + Auth + JWT
Ozair
Ozair

Posted on

Spring Boot 3 JPA + Auth + JWT

Description

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

Oldest comments (2)

Collapse
 
antonydelgado profile image
antonydelgado

Thank you very much!!

I used your code with neo4j and run ok.

Collapse
 
ozair0 profile image
Ozair

🙌🙂🫡