Go to file
Matt f2e0c3d1b1 DEBUG: Add comprehensive startup checks and improve OIDC configuration
##  **Debugging Improvements Added:**

### **Startup Monitoring:**
-  plugins/00.startup-check.server.ts - Server-side initialization checks
-  plugins/00.startup-check.client.ts - Client-side debugging
-  server/api/health.ts - Health check endpoint

### **OIDC Configuration Fixes:**
-  Reordered modules:
uxt-oidc-auth loads after uetify-nuxt-module
-  Temporarily removed file-based storage configuration (potential issue)
-  Maintained all session settings and provider configuration

### **Server-Side Checks:**
- Auto-creates required directories (./data/oidc-sessions, ./data/sessions)
- Validates all required environment variables are present
- Logs initialization progress and any errors

### **Client-Side Monitoring:**
- Detects OAuth callback URLs for debugging
- Checks storage availability
- Monitors startup process

### **Health Endpoint:**
- /api/health - Check server status and OIDC configuration
- Reports environment variables status
- Shows uptime and basic system info

##  **Expected Results:**

 Detailed logs will show exactly where initialization fails
 Health check endpoint works even if OIDC fails
 Better error handling prevents silent crashes
 Module loading order fixes potential conflicts
 Debugging info helps identify the 502 root cause

##  **Next Steps:**
1. Deploy this updated container
2. Check startup logs for [STARTUP] messages
3. Test /api/health endpoint first
4. Monitor OAuth callback debugging info
5. Use logs to identify and fix remaining issues

This maintains all existing functionality while adding comprehensive debugging!
2025-06-15 14:57:48 +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 MAJOR: Replace keycloak-js with nuxt-oidc-auth for seamless SSO integration 2025-06-14 15:58:03 +02:00
docs Implement Keycloak authentication integration and unify user management 2025-06-14 14:09:56 +02:00
middleware MAJOR: Replace keycloak-js with nuxt-oidc-auth for seamless SSO integration 2025-06-14 15:58:03 +02:00
pages 🔧 FIX: Disable OIDC global middleware to prevent redirect loops 2025-06-14 16:07:01 +02:00
plugins DEBUG: Add comprehensive startup checks and improve OIDC configuration 2025-06-15 14:57:48 +02:00
public Feat: Complete EOI improvements and PWA implementation 2025-06-12 16:16:30 +02:00
server DEBUG: Add comprehensive startup checks and improve OIDC configuration 2025-06-15 14:57:48 +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 MAJOR: Replace keycloak-js with nuxt-oidc-auth for seamless SSO integration 2025-06-14 15:58:03 +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 DEBUG: Add comprehensive startup checks and improve OIDC configuration 2025-06-15 14:57:48 +02:00
package-lock.json MAJOR: Replace keycloak-js with nuxt-oidc-auth for seamless SSO integration 2025-06-14 15:58:03 +02:00
package.json MAJOR: Replace keycloak-js with nuxt-oidc-auth for seamless SSO integration 2025-06-14 15:58:03 +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