This project is the Auth Service responsible for user registration, login, and JWT token generation to secure access through the API Gateway.
- ✅ User Registration and Login
- ✅ JWT Token Generation for Authentication
- ✅ Token Refresh Support
- ✅ Stateless and Secure Authentication Flow
The service generates JWT tokens which are validated by the API Gateway to control access to other microservices.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/auth/register |
User registration |
| POST | /api/auth/login |
User login |
| POST | /api/auth/refresh-token |
Refresh JWT token |
You can explore the API documentation at:
http://localhost:{port}/api/auth/swagger-ui.html
- Spring Boot
- Spring Security
- JWT
- MongoDB