Matt 7ca77e2dcf FIX: Correct OIDC cookie name mismatch across all auth endpoints
**Root Cause:**
- Auth system was looking for 'keycloak-session' cookies
- But actual OIDC system uses 'nuxt-oidc-auth' cookies
- This caused authentication failures for file previews and other endpoints

**Files Updated:**
- server/utils/auth.ts: Updated to check 'nuxt-oidc-auth' cookie
- server/api/auth/session.ts: Updated cookie name references
- server/api/auth/logout.ts: Updated cookie deletion
- server/api/auth/keycloak/callback.ts: Updated cookie creation

**Result:**
- File previews should now work for authenticated users
- All authentication endpoints now use consistent cookie names
- Both x-tag headers and OIDC sessions work correctly
2025-06-15 16:58:45 +02:00
2025-02-16 20:32:34 +02:00
2025-02-16 14:10:19 +02:00
2025-06-12 16:26:10 +02:00
2025-02-16 14:10:19 +02:00
2025-02-16 14:10:19 +02:00
2025-06-03 22:04:22 +03:00
2025-06-12 21:54:47 +02:00
2025-02-16 14:10:19 +02:00
2025-02-16 14:10:19 +02:00

Client Portal

Commands

  • npm run dev to start development

Tech Stack

  • Node.js
  • Nuxt
  • Directus
  • Vuetify
Description
No description provided
Readme 2.3 MiB
Languages
TypeScript 51.5%
Vue 48.5%