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.
322 lines
No EOL
17 KiB
JSON
322 lines
No EOL
17 KiB
JSON
[
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/login",
|
|
"id": "RUN-001",
|
|
"timestamp": "2025-12-26T14:41:52.608Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/login",
|
|
"id": "RUN-002",
|
|
"timestamp": "2025-12-26T14:41:52.608Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/login",
|
|
"id": "RUN-003",
|
|
"timestamp": "2025-12-26T14:41:52.621Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/login",
|
|
"id": "RUN-004",
|
|
"timestamp": "2025-12-26T14:41:52.621Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"details": "Console error: Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-005",
|
|
"timestamp": "2025-12-26T14:41:52.821Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-006",
|
|
"timestamp": "2025-12-26T14:41:52.827Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-007",
|
|
"timestamp": "2025-12-26T14:41:52.827Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-008",
|
|
"timestamp": "2025-12-26T14:41:52.828Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"details": "Console error: Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-009",
|
|
"timestamp": "2025-12-26T14:41:52.830Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-010",
|
|
"timestamp": "2025-12-26T14:41:52.831Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-011",
|
|
"timestamp": "2025-12-26T14:41:52.831Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-012",
|
|
"timestamp": "2025-12-26T14:41:52.831Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"details": "Console error: Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-013",
|
|
"timestamp": "2025-12-26T14:41:52.833Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-014",
|
|
"timestamp": "2025-12-26T14:41:52.835Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-015",
|
|
"timestamp": "2025-12-26T14:41:52.835Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-016",
|
|
"timestamp": "2025-12-26T14:41:52.836Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"details": "Console error: Failed to load resource: the server responded with a status of 404 (Not Found)",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-017",
|
|
"timestamp": "2025-12-26T14:41:52.838Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-018",
|
|
"timestamp": "2025-12-26T14:41:52.838Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-019",
|
|
"timestamp": "2025-12-26T14:41:52.838Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-020",
|
|
"timestamp": "2025-12-26T14:41:52.839Z"
|
|
},
|
|
{
|
|
"category": "NETWORK",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "HTTP 404 - GET http://127.0.0.1:8080/api/v1/api/v1/audit/activity?limit=10",
|
|
"details": "Server responded with status 404. Response: 404 page not found",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-021",
|
|
"timestamp": "2025-12-26T14:41:52.842Z"
|
|
},
|
|
{
|
|
"category": "NETWORK",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "HTTP 404 - GET http://127.0.0.1:8080/api/v1/api/v1/audit/stats",
|
|
"details": "Server responded with status 404. Response: 404 page not found",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-022",
|
|
"timestamp": "2025-12-26T14:41:52.844Z"
|
|
},
|
|
{
|
|
"category": "NETWORK",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "HTTP 404 - GET http://127.0.0.1:8080/api/v1/api/v1/audit/activity?limit=10",
|
|
"details": "Server responded with status 404. Response: 404 page not found",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-023",
|
|
"timestamp": "2025-12-26T14:41:52.844Z"
|
|
},
|
|
{
|
|
"category": "NETWORK",
|
|
"severity": "HIGH",
|
|
"location": "http://localhost:3000/dashboard",
|
|
"message": "HTTP 404 - GET http://127.0.0.1:8080/api/v1/api/v1/audit/stats",
|
|
"details": "Server responded with status 404. Response: 404 page not found",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/dashboard",
|
|
"id": "RUN-024",
|
|
"timestamp": "2025-12-26T14:41:52.845Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "MEDIUM",
|
|
"location": "http://localhost:3000/settings",
|
|
"message": "[zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"details": "Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-025",
|
|
"timestamp": "2025-12-26T14:42:03.342Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "MEDIUM",
|
|
"location": "http://localhost:3000/settings",
|
|
"message": "[zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"details": "Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-026",
|
|
"timestamp": "2025-12-26T14:42:03.343Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "MEDIUM",
|
|
"location": "http://localhost:3000/settings",
|
|
"message": "[zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"details": "Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-027",
|
|
"timestamp": "2025-12-26T14:42:03.365Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "MEDIUM",
|
|
"location": "http://localhost:3000/settings",
|
|
"message": "[zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"details": "Console warning: [zustand devtools middleware] Please install/enable Redux devtools extension",
|
|
"reproduction_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-028",
|
|
"timestamp": "2025-12-26T14:42:03.366Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-029",
|
|
"timestamp": "2025-12-26T14:42:03.785Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-030",
|
|
"timestamp": "2025-12-26T14:42:03.785Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-031",
|
|
"timestamp": "2025-12-26T14:42:03.788Z"
|
|
},
|
|
{
|
|
"category": "CONSOLE",
|
|
"severity": "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_steps": "Navigate to http://localhost:3000/settings",
|
|
"id": "RUN-032",
|
|
"timestamp": "2025-12-26T14:42:03.788Z"
|
|
}
|
|
] |