D51 · Passwords of 8 to 15 characters, 24-hour sessions, and email from no-reply@opleet.com
Accepted · 2026-10-16 · zuki · Closes OQ12
Decision: A password has 8 to 15 characters, with at least one uppercase letter and one digit. A session lasts at most 24 hours, then the user signs in again. Auth email (invitations, password resets) comes from no-reply@opleet.com, sent through Resend.
Why: The higher-ups' answers on OQ12. opleet.com already sends through Resend.
Consequences:
- Supabase Auth enforces what it can: a minimum length of 8, and lowercase, uppercase and digits required. It has no maximum length setting, so apps/web's forms refuse a password longer than 15 characters before calling Auth. A password set outside the app could be longer; there is no such path for staff.
- Locally, config.toml sets the length, the requirements and a 24-hour time-box, so the local stack and CI behave as hosted will. The E2E logins' password follows the rules.
- The 24-hour time-box is a paid Supabase setting. It applies on production, which will be on a paid plan; staging gets it if it moves to one.
- The Resend API key is a secret, set by hand in each hosted project's SMTP settings (L0), never in the repository. Its TL step comes with M1, for staging, and with the production project before cutover.
- Backups and MFA stay as D16 says.