port-nimara-client-portal/server/api
Matt a17c6ed162 KEYCLOAK AUTH FIX: Phase 4 - Email & Files Endpoints
**UPDATED ENDPOINTS (11 additional):**
- email/send.ts (CRITICAL: was using old auth)
- email/fetch-thread.ts (CRITICAL: was using old auth)
- email/fetch-thread-v2.ts (CRITICAL: was using old auth)
- email/generate-eoi-document.ts (CRITICAL: was using old auth)
- files/upload.ts (CRITICAL: was using old auth)
- files/list.ts (SECURITY ISSUE: had NO auth)
- files/download.ts (SECURITY ISSUE: had NO auth)
- files/delete.ts (SECURITY ISSUE: had NO auth)
- files/create-folder.ts (SECURITY ISSUE: had NO auth)
- files/preview.ts (SECURITY ISSUE: had NO auth)
- files/rename.ts (SECURITY ISSUE: had NO auth)

**AUTHENTICATION:** All now support dual auth:
- x-tag header (webhooks/external calls)
- Keycloak session (logged-in users)

**PROGRESS:** 28/47 endpoints completed (~60%)
**NEXT:** Continue with remaining proxy, test & debug endpoints

**CRITICAL SECURITY FIXES:** Found 6 file endpoints with NO authentication - major vulnerability patched!
2025-06-15 16:32:34 +02:00
..
auth FIX: Correct Keycloak callback path to /api 2025-06-15 15:43:08 +02:00
debug FIX: Authentication for Keycloak - Phase 1 2025-06-15 16:13:22 +02:00
email KEYCLOAK AUTH FIX: Phase 4 - Email & Files Endpoints 2025-06-15 16:32:34 +02:00
eoi KEYCLOAK AUTH FIX: Phase 3 - Webhook & EOI Endpoints 2025-06-15 16:22:55 +02:00
files KEYCLOAK AUTH FIX: Phase 4 - Email & Files Endpoints 2025-06-15 16:32:34 +02:00
create-interest.ts FIX: Authentication for Keycloak - Phase 1 2025-06-15 16:13:22 +02:00
delete-interest.ts FIX: Authentication for Keycloak - Phase 1 2025-06-15 16:13:22 +02:00
eoi-send-to-sales.ts KEYCLOAK AUTH FIX: Phase 3 - Webhook & EOI Endpoints 2025-06-15 16:22:55 +02:00
get-berths.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
get-interest-berths.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
get-interest-by-id.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
get-interests.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
health.ts DEBUG: Add comprehensive startup checks and improve OIDC configuration 2025-06-15 14:57:48 +02:00
link-berth-recommendations-to-interest.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
link-berths-to-interest.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
request-more-info-to-sales.ts KEYCLOAK AUTH FIX: Phase 3 - Webhook & EOI Endpoints 2025-06-15 16:22:55 +02:00
request-more-information.ts KEYCLOAK AUTH FIX: Phase 3 - Webhook & EOI Endpoints 2025-06-15 16:22:55 +02:00
test-eoi-cleanup.ts CRITICAL FIX: Resolve NocoDB field clearing issue for EOI cleanup 2025-06-12 17:36:27 +02:00
unlink-berth-recommendations-from-interest.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
unlink-berths-from-interest.ts KEYCLOAK AUTH FIX: Phase 2 - Core Interest & Berth Endpoints 2025-06-15 16:18:29 +02:00
update-interest.ts FIX: Authentication for Keycloak - Phase 1 2025-06-15 16:13:22 +02:00