port-nimara-client-portal/composables
Matt c29f64b50b Enable debug logging for Keycloak authentication troubleshooting
DEBUGGING: Add comprehensive console logging to track authentication flow

## Changes Made:

### 1. Configuration Updates (nuxt.config.ts)
- Temporarily enabled keycloakDebug: true for production
- Allows detailed logging to troubleshoot authentication issues

### 2. Enhanced Error Logging (composables/useKeycloak.ts)
- Added [KEYCLOAK] prefixed console logs throughout login flow
- Enhanced error reporting with message, stack, and name details
- Added logging for initialization status and redirect URIs
- TypeScript-safe error handling with instanceof checks

## Debug Information Now Available:
- Keycloak initialization status
- Login function execution tracking
- Redirect URI generation details
- Authentication state monitoring
- Detailed error messages with stack traces

This will help identify exactly where the authentication process is failing
and provide actionable debugging information in the browser console.

Ready for container rebuild and testing.
2025-06-14 15:44:28 +02:00
..
useKeycloak.ts Enable debug logging for Keycloak authentication troubleshooting 2025-06-14 15:44:28 +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 Implement Official Keycloak JS Adapter with Proxy-Aware Configuration 2025-06-14 15:26:26 +02:00