Authentication
The backend supports JWT/session authentication.
Observed token behavior:
- Bearer tokens are accepted through the
Authorizationheader. - Session cookies are used by frontend session flows.
/auth/refreshrefreshes access./auth/ws-tokenissues a WebSocket token withws:connectscope./wsvalidates the token query parameter before accepting a connection.
Confirmed auth routes include:
POST /api/v2/auth/email-loginPOST /api/v2/auth/github/exchangePOST /api/v2/auth/verify-tokenPOST /api/v2/auth/sessionGET /api/v2/auth/sessionGET /mePOST /logoutPOST /auth/tokenPOST /auth/ws-tokenPOST /auth/refresh
No fake credentials are documented here.