veza/apps/web/RUNTIME_AUDIT_REPORT.md
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

14 KiB

Runtime Audit Report

Generated: 2025-12-26T14:42:06.382Z


État Global

Status: STABLE Login Success: Yes

Parcours Utilisateur

Page Loaded Has Content Load Time (ms)
/dashboard 2538ms
/profile 2563ms
/settings 690ms
/library 21ms

Résumé des Erreurs

Total Issues: 32

Par Sévérité

  • CRITICAL: 0
  • HIGH: 24
  • MEDIUM: 8
  • LOW: 0

Par Catégorie

  • NETWORK: 4
  • CONSOLE: 28
  • NAVIGATION: 0
  • UX: 0

Erreurs Console

RUN-001 - MEDIUM

  • Location: http://localhost:3000/login
  • Message: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Details: Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Reproduction: Navigate to http://localhost:3000/login

RUN-002 - MEDIUM

  • Location: http://localhost:3000/login
  • Message: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Details: Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Reproduction: Navigate to http://localhost:3000/login

RUN-003 - MEDIUM

  • Location: http://localhost:3000/login
  • Message: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Details: Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Reproduction: Navigate to http://localhost:3000/login

RUN-004 - MEDIUM

  • Location: http://localhost:3000/login
  • Message: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Details: Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension
  • Reproduction: Navigate to http://localhost:3000/login

RUN-005 - HIGH

RUN-006 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [ERROR] [API Error Response] GET /api/v1/audit/activity 404 {request_id: req_1766760112806_4a7ewgngt, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /api/v1/audit/activity 404 {request_id: req_1766760112806_4a7ewgngt, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-007 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.819Z, details: undefined, url: /api/v1/audit/activity}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.819Z, details: undefined, url: /api/v1/audit/activity}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-008 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: Failed to fetch recent activity: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.819Z}
  • Details: Console error: Failed to fetch recent activity: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.819Z}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-009 - HIGH

RUN-010 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [ERROR] [API Error Response] GET /api/v1/audit/stats 404 {request_id: req_1766760112806_dpui77pqm, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /api/v1/audit/stats 404 {request_id: req_1766760112806_dpui77pqm, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-011 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.822Z, details: undefined, url: /api/v1/audit/stats}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.822Z, details: undefined, url: /api/v1/audit/stats}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-012 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: Failed to fetch dashboard stats: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.822Z}
  • Details: Console error: Failed to fetch dashboard stats: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.822Z}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-013 - HIGH

RUN-014 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [ERROR] [API Error Response] GET /api/v1/audit/activity 404 {request_id: req_1766760112807_bcu14n0l4, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /api/v1/audit/activity 404 {request_id: req_1766760112807_bcu14n0l4, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-015 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.824Z, details: undefined, url: /api/v1/audit/activity}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.824Z, details: undefined, url: /api/v1/audit/activity}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-016 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: Failed to fetch recent activity: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.824Z}
  • Details: Console error: Failed to fetch recent activity: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.824Z}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-017 - HIGH

RUN-018 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [ERROR] [API Error Response] GET /api/v1/audit/stats 404 {request_id: req_1766760112807_egw1kah3k, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /api/v1/audit/stats 404 {request_id: req_1766760112807_egw1kah3k, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-019 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.825Z, details: undefined, url: /api/v1/audit/stats}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.825Z, details: undefined, url: /api/v1/audit/stats}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-020 - HIGH

  • Location: http://localhost:3000/dashboard
  • Message: Failed to fetch dashboard stats: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.825Z}
  • Details: Console error: Failed to fetch dashboard stats: {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:41:52.825Z}
  • Reproduction: Navigate to http://localhost:3000/dashboard

RUN-025 - MEDIUM

RUN-026 - MEDIUM

RUN-027 - MEDIUM

RUN-028 - MEDIUM

RUN-029 - HIGH

  • Location: http://localhost:3000/settings
  • Message: [ERROR] [API Error Response] GET /users/9265e509-4cce-4557-b163-350dd543fd4d/settings 404 {request_id: req_1766760123776_jefmkse6d, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /users/9265e509-4cce-4557-b163-350dd543fd4d/settings 404 {request_id: req_1766760123776_jefmkse6d, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/settings

RUN-030 - HIGH

  • Location: http://localhost:3000/settings
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:42:03.784Z, details: undefined, url: /users/9265e509-4cce-4557-b163-350dd543fd4d/settings}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:42:03.784Z, details: undefined, url: /users/9265e509-4cce-4557-b163-350dd543fd4d/settings}
  • Reproduction: Navigate to http://localhost:3000/settings

RUN-031 - HIGH

  • Location: http://localhost:3000/settings
  • Message: [ERROR] [API Error Response] GET /users/9265e509-4cce-4557-b163-350dd543fd4d/settings 404 {request_id: req_1766760123776_tphpg969u, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Details: Console error: [ERROR] [API Error Response] GET /users/9265e509-4cce-4557-b163-350dd543fd4d/settings 404 {request_id: req_1766760123776_tphpg969u, status: 404, statusText: Not Found, headers: Object, data: 404 page not found}
  • Reproduction: Navigate to http://localhost:3000/settings

RUN-032 - HIGH

  • Location: http://localhost:3000/settings
  • Message: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:42:03.786Z, details: undefined, url: /users/9265e509-4cce-4557-b163-350dd543fd4d/settings}
  • Details: Console error: [API Error] Request failed with status code 404 (Code: 404) {code: 404, message: Request failed with status code 404, timestamp: 2025-12-26T14:42:03.786Z, details: undefined, url: /users/9265e509-4cce-4557-b163-350dd543fd4d/settings}
  • Reproduction: Navigate to http://localhost:3000/settings

Erreurs Réseau

RUN-021 - HIGH

RUN-022 - HIGH

RUN-023 - HIGH

RUN-024 - HIGH