OrangeCat (OIDC) becomes the primary way into datacat on /login and
/register; email + password stays behind a disclosure, and is the only
form shown when the box has no OrangeCat client credentials.
- next-auth v4 provider "orangecat": client_secret_post, PKCE + state,
scope "openid profile email", issuer https://orangecat.ch
(ORANGECAT_OAUTH_ISSUER overrides). Absent, not broken, while
ORANGECAT_OAUTH_CLIENT_ID/_SECRET are unset.
- Users keyed on the OIDC sub (new nullable unique users.orangecatSub).
A new sub always creates a new user; it is never linked to an
existing account by email (OrangeCat email_verified is untrustworthy).
If the email is already held, the new user gets email NULL, so
users.email becomes nullable. Additive migration only.
- Identity only: no OrangeCat token is kept or refreshed.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Vercel is decommissioned; datacat runs self-hosted on the Hetzner box
"bitbaum" behind Caddy at datacat.orangecat.ch.
- VISION.md: DB hosting option "Vercel/AWS" → "self-hosted"
- frontend/env.example: BACKEND_URL note now points at the self-hosted
deployment environment instead of Vercel project settings
- .gitignore + frontend/.gitignore: drop dead `.vercel` ignore blocks
Kept the dated ADR (docs/decisions/2025-08-12-architecture-big-bang.md)
verbatim — it is an immutable historical decision record.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Updated vulnerable packages where possible.
Some vulnerabilities remain due to next-contentlayer peer dependency conflicts.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>