Commit Graph

4 Commits

Author SHA1 Message Date
Rokojori 7ed9b9d7a2 auth: add GET /api/auth/logout?redirect= for browser-based logout links
Mirrors the refresh-session pattern — clears cookies, invalidates refresh
token, and redirects to the given URL (falls back to /login.html).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-13 14:45:19 +02:00
Rokojori 61f15e1325 Added Workspace Docs 2026-07-13 13:42:50 +02:00
Rokojori 07aad6c69e auth: refresh token cookie, rate limiting, delete account, welcome email
- trust proxy for correct IP behind nginx
- refresh token now set as httpOnly cookie alongside access token
- GET /api/auth/refresh-session for browser-based token refresh
- DELETE /api/auth/me with full cleanup of tokens and cookies
- rate limiting on login (10/15min) and register (5/hr)
- welcome email on registration (non-blocking)
- delete account UI on profile page with two-step confirm

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-13 12:33:39 +02:00
Rokojori d7eeaace01 Initial Commit 2026-07-13 05:48:45 +02:00