port-nimara-client-portal/server
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
..
api FIX: Correct OIDC cookie name mismatch across all auth endpoints 2025-06-15 16:58:45 +02:00
plugins REVERT Network Updates 2025-06-12 21:54:47 +02:00
tasks updates 2025-06-10 14:32:20 +02:00
utils FIX: Correct OIDC cookie name mismatch across all auth endpoints 2025-06-15 16:58:45 +02:00