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. |
||
|---|---|---|
| .gitea/workflows | ||
| components | ||
| composables | ||
| docs | ||
| middleware | ||
| pages | ||
| plugins | ||
| public | ||
| server | ||
| static | ||
| utils | ||
| .dockerignore | ||
| .env.example | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
| app.vue | ||
| nuxt.config.ts | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
README.md
Client Portal
Commands
npm run devto start development
Tech Stack
- Node.js
- Nuxt
- Directus
- Vuetify