Go to file
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
.gitea/workflows build: add workflow 2025-02-16 20:32:34 +02:00
components Update logo references and email logo URL in configuration 2025-06-13 13:36:14 +02:00
composables Enable debug logging for Keycloak authentication troubleshooting 2025-06-14 15:44:28 +02:00
docs Implement Keycloak authentication integration and unify user management 2025-06-14 14:09:56 +02:00
middleware Implement Official Keycloak JS Adapter with Proxy-Aware Configuration 2025-06-14 15:26:26 +02:00
pages Implement Official Keycloak JS Adapter with Proxy-Aware Configuration 2025-06-14 15:26:26 +02:00
plugins feat: Implement comprehensive PWA functionality 2025-06-12 16:36:32 +02:00
public Feat: Complete EOI improvements and PWA implementation 2025-06-12 16:16:30 +02:00
server Implement Official Keycloak JS Adapter with Proxy-Aware Configuration 2025-06-14 15:26:26 +02:00
static feat: add files 2025-02-16 14:10:19 +02:00
utils fixes 2025-06-12 16:26:10 +02:00
.dockerignore feat: add files 2025-02-16 14:10:19 +02:00
.env.example Implement Keycloak authentication integration and unify user management 2025-06-14 14:09:56 +02:00
.gitignore feat: add files 2025-02-16 14:10:19 +02:00
Dockerfile REVERT Network Updates 2025-06-12 21:54:47 +02:00
README.md feat: add files 2025-02-16 14:10:19 +02:00
app.vue feat: add interest button 2025-06-03 22:04:22 +03:00
nuxt.config.ts Enable debug logging for Keycloak authentication troubleshooting 2025-06-14 15:44:28 +02:00
package-lock.json MAJOR: Replace nuxt-openid-connect with official Keycloak JS adapter 2025-06-14 14:50:29 +02:00
package.json MAJOR: Replace nuxt-openid-connect with official Keycloak JS adapter 2025-06-14 14:50:29 +02:00
tsconfig.json feat: add files 2025-02-16 14:10:19 +02:00

README.md

Client Portal

Commands

  • npm run dev to start development

Tech Stack

  • Node.js
  • Nuxt
  • Directus
  • Vuetify