port-nimara-client-portal/composables
Matt 81316a4294 FIX: Replace useOidcAuth with useCustomAuth in useUnifiedAuth
##  **Critical Fix for 500 Error:**

### **Issue:**
- useUnifiedAuth.ts was still calling useOidcAuth() which no longer exists
- This was causing the 500 error when dashboard tried to load
- Error: 'useOidcAuth is not defined'

### **Solution:**
-  Replaced useOidcAuth() with useCustomAuth() in unified auth
-  Updated logout logic to use custom Keycloak auth
-  Maintained dual auth support (Directus + Keycloak)

### **Files Changed:**
- composables/useUnifiedAuth.ts - Updated to use custom auth system

##  **Next Step:**
Need to resolve TypeScript import issue for useCustomAuth composable
2025-06-15 15:54:33 +02:00
..
useCustomAuth.ts FIX: Correct Keycloak callback path to /api 2025-06-15 15:43:08 +02:00
usePWA.ts feat: Implement comprehensive PWA functionality 2025-06-12 16:36:32 +02:00
usePortalTags.ts fix: user fetching for tags 2025-03-14 02:44:02 +02:00
useToast.ts feat: add interest button 2025-06-03 22:04:22 +03:00
useUnifiedAuth.ts FIX: Replace useOidcAuth with useCustomAuth in useUnifiedAuth 2025-06-15 15:54:33 +02:00