Tasks
- [x] Optional invite-only API enforcement and public
is_invitedflag. - [x] Remove HTTP Basic and local auth modes; the owner selects automatic login, in-app password sessions, or Auth0 independently of the environment.
- [x] Password login/logout, cookie flags, absolute expiry, credential rotation, and CSRF protection.
- [x] Verify password-session cookies before entering the dashboard, stop automatic scan retries on authentication/access failures, and return to sign-in with cleared scan data when a session scan query receives 401.
- [x] Verify secure HTTPS scan requests and add a Cloudflare Pages
/apiproxy with tested cookie/CSRF forwarding and deployment configuration for cross-site backends. - [x] Allow HTTPS production, deployment-hash, and branch-alias origins for
camply-81r.pages.devthrough the shared CORS/login policy; reject unrelated Pages projects, HTTP, and lookalike domains. - [x] Auth0 audience and configuration validation.
- [x] Mode-aware signup, protected routes, and invitation UI.
- [x] Regression tests and documentation.
- [x] Backend
access_requestsreview migration, admin approval/revocation API (GET/PATCH /api/admin/access-requests), and audited useris_invitedtoggle with self/bootstrap-admin guards. - [x] Safe invitation matching on verified Auth0 sign-in/email change,
invitation_statuson/api/me, and best-effort admin ntfy/Pushover alerts on new access requests. - [x] Admin review UI (
/admin/invitationsand useris_invitedtoggle) and/invite-onlyrequester outcome UI. - [x] Individual server-side password session revocation (
UserSessionpersistence,GET/DELETE /api/me/sessions, and profile Active Sessions UI); explicit password+Auth0 account linking remains deferred/out of scope.