Files
work-club-manager/frontend/src
WorkClub Automation 8643c3dfa7 fix(frontend): create NextAuth.js API route handler
NextAuth.js v5 requires an explicit API route to expose authentication endpoints.

Added missing route handler at frontend/src/app/api/auth/[...nextauth]/route.ts that imports and exports handlers from the auth configuration.

This fixes:
- /api/auth/signin endpoint (was 404)
- /api/auth/callback endpoint
- /api/auth/session endpoint
- Frontend authentication flow initialization

Verification: Endpoint now returns HTTP 200 and frontend loads without ClientFetchError.
2026-03-05 13:59:16 +01:00
..