## **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 |
||
|---|---|---|
| .. | ||
| useCustomAuth.ts | ||
| usePWA.ts | ||
| usePortalTags.ts | ||
| useToast.ts | ||
| useUnifiedAuth.ts | ||