Overview
Our application supports two authentication methods:
- Email and Password: Users register with a unique username.
- Google Sign-In: Users are assigned their Google username, which they can later change in their profile.
Problem
Currently, while registration enforces unique usernames, updating usernames in the profile does not ensure uniqueness. This can lead to duplicate usernames, causing confusion and potential conflicts.
Requirements
Acceptance Criteria
- Users cannot update their profile with a username that already exists.
- Users receive clear feedback when attempting to use an unavailable username.
- The uniqueness check is enforced consistently across all authentication methods.
- Comprehensive tests cover the new functionality.
Overview
Our application supports two authentication methods:
Problem
Currently, while registration enforces unique usernames, updating usernames in the profile does not ensure uniqueness. This can lead to duplicate usernames, causing confusion and potential conflicts.
Requirements
Username Uniqueness Check:
Real-Time Feedback:
Consistent Enforcement:
Backend Integration:
Testing:
Acceptance Criteria