chore: update auth progress

This commit is contained in:
2026-03-14 00:32:57 +03:00
parent 5ece1036cd
commit c391a9b8e5
+1 -2
View File
@@ -14,8 +14,7 @@ This file tracks known gaps and risks to address in future iterations.
- Multiple serializers/model `__str__` paths in non-auth apps still fallback to `user.email`; phone-only users may get poor display/audit clarity.
## Next Auth Review Points
- Enforce normalized E.164 phone format at model/DB boundary (constraints, indexing, uniqueness behavior with nullable fields).
- Add DB-level non-null + format guardrails for `accounts_user.phone_number` to complement service-level normalization.
- DB-level guardrails for `accounts_user.phone_number` are now enforced (`NOT NULL`, `UNIQUE`, E.164 check constraint).
- Decide user lifecycle for phone auth (create user before OTP verify vs provisional/pre-user state).
- Expand abuse prevention beyond per-phone cooldown (IP throttling, device fingerprint, risk signals).
- Define OAuth account-linking policy (phone/email conflicts, merge rules, trust source).