Sign-in rules
Identity
- Each user must have a unique email address
- Email is normalized to lowercase during sign-in
Password policy
- Minimum 12 characters
- Maximum 128 characters
- Cannot start or end with spaces
- Cannot match common weak passwords, the email local-part, or the company name
Error behavior
- Invalid email or password returns a generic invalid-credentials message
- Disabled users are signed out and told to contact their Admin
- Wrong-company membership returns generic invalid-credentials messaging
- Missing profile returns a contact-admin style error
Email verification
- Users without a verified email are redirected to /verify-email after password sign-in
First password change
- Users with force_password_change are redirected to /change-password before post-auth continues