Fix Authentication Endpoint Mismatch #144

Closed
opened 2026-03-26 09:10:38 +01:00 by kincses · 1 comment
Owner

Objective: Fix authentication endpoint mismatch where frontend calls but backend provides .

Target Files:

  • Frontend: (check auth calls)
  • Frontend stores:
  • Backend: Check if redirect needed or update frontend

Acceptance Criteria:

  1. User authentication flow works end-to-end
  2. returns proper user data
  3. Frontend correctly displays user info after login
  4. No 404 errors for auth endpoints

Execution Steps:

  1. Check current backend auth endpoints in
  2. Update frontend API calls to use correct endpoints
  3. Test login → dashboard flow
  4. Verify user data persistence

Technical Details:

  • Estimated effort: 2 hours
  • Dependencies: None
  • Priority: P0 (affects user experience)
**Objective:** Fix authentication endpoint mismatch where frontend calls but backend provides . **Target Files:** - Frontend: (check auth calls) - Frontend stores: - Backend: Check if redirect needed or update frontend **Acceptance Criteria:** 1. User authentication flow works end-to-end 2. returns proper user data 3. Frontend correctly displays user info after login 4. No 404 errors for auth endpoints **Execution Steps:** 1. Check current backend auth endpoints in 2. Update frontend API calls to use correct endpoints 3. Test login → dashboard flow 4. Verify user data persistence **Technical Details:** - Estimated effort: 2 hours - Dependencies: None - Priority: P0 (affects user experience)
kincses added this to the Phase 1: Core Functionality Fixes milestone 2026-03-26 09:10:38 +01:00
kincses added the Status: To DoScope: BackendScope: FrontendType: Bug labels 2026-03-26 09:10:38 +01:00
kincses added Status: Done and removed Status: To Do labels 2026-03-27 13:20:33 +01:00
Author
Owner

Munka befejezve: 2026-03-27 13:20:33

Technikai Összefoglaló:
Authentication endpoint mismatch fixed: Added /auth/me endpoint as alias for /users/me. Both endpoints now return user profile with admin role. Created persistent test identity (tester_pro@profibot.hu) and verification script.

⏱️ A ráfordított időt a Gitea rögzítette.

✅ **Munka befejezve:** 2026-03-27 13:20:33 **Technikai Összefoglaló:** Authentication endpoint mismatch fixed: Added /auth/me endpoint as alias for /users/me. Both endpoints now return user profile with admin role. Created persistent test identity (tester_pro@profibot.hu) and verification script. ⏱️ *A ráfordított időt a Gitea rögzítette.*
Sign in to join this conversation.