AllAuth now runs its own authentication engine
AllAuth handles sign-in, sessions and token issuance for the platform and its applications. Hosted applications keep their installed SDK and sign-in URLs. Existing self-hosted installations need a database readiness check before switching images.
What changed
- The AllAuth engine replaces Better Auth in the running service. It reads existing accounts, password hashes, MFA enrollments, passkeys, sessions and OAuth grants from the same PostgreSQL tables and uses the existing signing and encryption keys.
- Hosted application owners can keep their registered redirect URLs, SDK version and session cookies. The change covers password, email and configured provider sign-in, organization access, SCIM provisioning and OAuth token refresh.
- Self-hosted operators upgrading an existing installation should rehearse on an isolated restore and retain the previous image and configuration. Follow the linked guide to inventory the platform and project writers, check readiness and switch each remaining writer at its recorded revision before restoring traffic.
- After the switch, run node scripts/auth-engine-inventory.mjs --require-allauth-writers inside the auth container, confirm the health endpoint reports ok and exercise a configured sign-in and an existing session. Fresh installations select the AllAuth writer during migration.
Release provenance
release
The release checks exercise the first-party HTTP handlers on a disposable PostgreSQL database, including MFA, passkeys, OAuth code exchange and refresh, account recovery and SCIM provisioning. Compatibility tests compare the registered routes and exercise credentials and sessions created before the switch.
Reviewed package files: apps/auth/scripts/auth-check.ts, apps/auth/lib/platform-issuer-device-routing.pg.test.ts, docs/SELF_HOSTING.md