This document describes security configurations that must be set in the Supabase Dashboard (not via SQL migrations).
Leaked password protection checks user passwords against known data breaches to prevent the use of compromised credentials. This is an important security feature for production environments.
- Lint Warning:
users_leaked_password_protectiononauth.users - Fix Location: Supabase Dashboard (not SQL migration)
- Go to Supabase Dashboard → Authentication → Settings
- Scroll to Security section
- Find Leaked password protection
- Turn ON (recommended level: "Medium" or "High" for production)
| Environment | Setting | Notes |
|---|---|---|
| Development | Off or Low | Reduces friction during testing |
| Staging | Medium | Matches production behavior |
| Production | Medium or High | Maximum security |
- Consider enabling TOTP for admin users
- Available in: Auth → Settings → MFA
- Configure appropriate rate limits for your traffic patterns
- Available in: Auth → Rate Limits
- Review session timeout settings
- Available in: Auth → Sessions
- Consider requiring email confirmation for production
- Available in: Auth → Providers → Email
Last Updated: 2025-11-26
Related: docs/db-lint/README.md - DB lint documentation