Commit graph

3 commits

Author SHA1 Message Date
senke
19d0252308 [DOC] MVP Final Status - Tests E2E partiellement fonctionnels
- Global setup fonctionne  (authentification API réussie)
- Utilisateur de test créé et fonctionnel 
- Problème routage frontend identifié (page /login ne se charge pas)
- Recommandation: Tests manuels pour MVP ou corriger routage
- Backend 100% fonctionnel 
2026-01-04 01:44:15 +01:00
senke
d0f403018d [FIX] ISSUE-001 & ISSUE-002: Fix authentication workflow for MVP
ISSUE-001: Auto-verify email on registration
- Set IsVerified: true in Register() to allow immediate login
- Removes blocking email verification requirement for MVP

ISSUE-002: Generate tokens in Register
- Modified Register() signature to return (*User, *TokenPair, error)
- Added JWT token generation after user creation
- Store refresh token in database
- Updated handlers to use returned tokens
- Added nil checks for JWTService and refreshTokenService

Changes:
- veza-backend-api/internal/core/auth/service.go
- veza-backend-api/internal/handlers/auth.go
- veza-backend-api/internal/core/auth/handler.go
- REAL_ISSUES_TODOLIST.json

Note: Backend needs to be recompiled and restarted for changes to take effect.
2026-01-04 01:44:13 +01:00
senke
9e942bc48b batch 1 2025-12-22 22:00:50 +01:00