wraith/backend/src/auth
Vantz Stockwell c4d7ad1833 fix: WebSocket auth always fails — client object has no URL property
With the NestJS ws adapter, the JWT token URL is on the HTTP upgrade
request (second arg to handleConnection), not on the WebSocket client
object. client.url was undefined, new URL(undefined) threw, catch
returned null, and every connection got 4001 Unauthorized.

Fix: Pass the IncomingMessage req to validateClient and prefer req.url.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:16:03 -04:00
..
dto fix: inline modals in index.vue, proper DTO for profile update 2026-03-13 09:09:05 -04:00
auth.controller.ts fix: inline modals in index.vue, proper DTO for profile update 2026-03-13 09:09:05 -04:00
auth.module.ts feat: AES-256-GCM encryption service + auth module (JWT, guards, seed) 2026-03-12 17:07:14 -04:00
auth.service.ts feat: nav bar (Home link), profile management, TOTP 2FA 2026-03-13 08:36:03 -04:00
jwt-auth.guard.ts feat: AES-256-GCM encryption service + auth module (JWT, guards, seed) 2026-03-12 17:07:14 -04:00
jwt.strategy.ts feat: AES-256-GCM encryption service + auth module (JWT, guards, seed) 2026-03-12 17:07:14 -04:00
ws-auth.guard.ts fix: WebSocket auth always fails — client object has no URL property 2026-03-13 11:16:03 -04:00