Skip to content

The user-auth-service is a microservice for handling authentication and authorization in a distributed system. It manages user login, registration, and secure access using JWT and OAuth 2.0. Built with Spring Boot, it ensures scalable, reliable integration with other microservices.

Notifications You must be signed in to change notification settings

ayushstwt/user-auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

User Auth Service

The User Auth Service is a microservice designed to handle user authentication and authorization in a secure and scalable manner. It utilizes JSON Web Tokens (JWT) for token-based authentication and is built with Spring Boot. This service supports user registration, login, and role-based access control.

Features

  • User Registration: Allows new users to register with the system.
  • User Login: Authenticates users and generates JWT tokens.
  • Role-Based Access Control: Supports user roles for fine-grained access management.
  • Secure Token Storage: Uses JWT for secure session management.
  • Swagger Documentation: API documentation is available via Swagger UI.

Technologies Used

  • Java 21
  • Spring Boot 3.3.3
  • Spring Security
  • JJWT for JWT handling
  • MySQL for data persistence
  • Lombok for reducing boilerplate code

For a deeper dive into the User Auth Service project and to explore the implementation details, you can read my blog here.

https://dev.to/ayushstwt/securing-microservices-with-spring-security-implementing-jwt-38m6

About

The user-auth-service is a microservice for handling authentication and authorization in a distributed system. It manages user login, registration, and secure access using JWT and OAuth 2.0. Built with Spring Boot, it ensures scalable, reliable integration with other microservices.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages