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

Top 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 β€’

πŸ™ŒπŸ™‚πŸ«‘