Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Latest commit

Β 

History

History
81 lines (53 loc) Β· 2.64 KB

File metadata and controls

81 lines (53 loc) Β· 2.64 KB

πŸ”‘ Authentication & User Management Service

This service is the authoritative source for user identity, authentication, and role management within the TechTorque 2025 ecosystem.

🚦 Build Status

main

Build and Test Authentication Service

dev

Build and Test Authentication Service

Assigned Team: Randitha, Suweka

βœ… Implementation Status

COMPLETE - 25/25 endpoints (100%)

  • βœ… Core Authentication (9/9) - Email verification, login, refresh tokens, password reset
  • βœ… User Profile Management (5/5) - Profile updates, preferences
  • βœ… Admin User Management (11/11) - User CRUD, role management

See COMPLETE_IMPLEMENTATION_REPORT.md for full details.

🎯 Key Responsibilities

  • User Registration & Login: Email verification required, JWT + refresh token issued
  • Token Management: JWT refresh tokens with 7-day expiry
  • User Profile: Full profile and preferences management
  • Password Reset: Token-based password reset via email
  • RBAC: Manages user roles (CUSTOMER, EMPLOYEE, ADMIN, SUPER_ADMIN)

βš™οΈ Tech Stack

  • Framework: Java / Spring Boot 3.5.6
  • Database: PostgreSQL
  • Security: Spring Security + JWT
  • Email: Spring Mail (optional, disabled by default)

ℹ️ API Information

πŸš€ Running Locally

This service is designed to be run as part of the main docker-compose setup from the project's root directory.

```bash
# From the root of the TechTorque-2025 project
docker-compose up --build auth-service

πŸ§ͺ Testing

Run the comprehensive test script:

cd Authentication
./test-auth-complete.sh

πŸ“š Documentation

πŸ†• New Features (v2.0.0)

  • Email verification system
  • JWT refresh tokens
  • Password reset flow
  • Profile management
  • User preferences
  • Enhanced security

Status: Production Ready (pending email SMTP configuration)