The Auth Service handles user authentication, JWT token management, and user profile operations.
It provides JWT validation for other services and manages user data with secure password hashing.
8084
3309
)/validate
endpoint for other services to verify tokens.The service publishes events to Kafka for real-time updates:
user.created
— when a user is createdauth/cmd/auth-service/main.go
auth/internal/handlers/http.go
auth/internal/models/models.go
auth/internal/repository/repository.go
auth/internal/service/auth_service.go
auth/internal/middleware/jwt.go
auth/internal/events/producer.go
auth/migrations/
auth/api/auth.yml
\newpage