feat(auth): add POST /login with Playwright automation and SQLite session storage
- automates file-key login on the ID portal using Playwright/Chromium - captures token, cookies, and localStorage after successful redirect - stores session data in SQLite via TypeORM (better-sqlite3) - sessions are keyed by sessionName (auto-generated UUID if not provided) - login URL, cabinet redirect URL, keys dir, and DB path are all configurable via env
This commit is contained in:
Generated
+1184
-20
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user