Skip to content

MrSnou/AuthServiceAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project goal: practical mastery of Spring Boot Security, JWT, and REST API architecture.

🔐 Auth Service API

The Auth Service API is a backend application based on Spring Boot, used to authenticate and authorize users using JWT (JSON Web Token). The project was created to teach and practically apply key Spring security mechanisms.


🚀 Features

  • New user registration (/api/auth/register)
  • Login with JWT generation (/api/auth/login)
  • Token refresh (/api/auth/refresh)
  • Logout (deleting the JWT cookie) (/api/auth/logout)
  • User profile (user details) (/api/auth/me)
  • Token validation via JwtAuthenticationFilter
  • Token support in both the *Authorization header and cookies (HttpOnly cookie)
  • Secure endpoints only for logged-in users

🧩 Technologies

  • Java 21
  • Spring Boot 3+
  • Spring Security
  • Spring Web
  • Spring Data JPA
  • JWT (jjwt)
  • H2 Database (dla testów)
  • Maven

Project frozen - Due to the realization that I am writing a second identical application only in Spring Boot, I am moving to another project to learn more Spring Boot features.

About

Authorization API written in Java (Spring Boot)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages