You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f435f19
Browse filesBrowse the repository at this point in the historyBrowse files
Auth keeps its state in PostgreSQL, but nothing checked that two instances
agree, and every deploy already overlaps two replicas.
- AuthConfig::router no longer writes to the database. Startup provisions
OIDC clients separately with AuthConfig::provision_clients, so tests can
build two routers on one database as replicas.
- Database tests build two replicas and check that a passkey sign-in and a
logout span them, that they share one rate-limit budget, and that a
refresh token rotated on both at once rotates exactly once.
- On shutdown, expired-state cleanup finishes its current batch instead of
being aborted.
- The auth_replicas manifest variable sets the replica count (default 1).
- infra/README.md documents what replicas share; database-crate.md makes
migrations expand, then contract.
Refs #33.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments