Operations Playbook: Authentication Failures¶
Trigger Conditions¶
- login failures/spikes
- MFA loops or unexpected challenges
- session/auth redirect loops
Response Workflow¶
- Validate host and CSRF settings.
- Check auth/middleware behavior.
- Inspect app logs and auth rate-limits.
- Re-run system checks.
- Validate account flow endpoints.
Recovery Validation¶
- login flow stable for valid users
- MFA flow completes correctly
- no repeated auth errors in logs
Common misconfiguration
DJANGO_ALLOWED_HOSTS and CSRF origin mismatches often cause environment-specific login failures.