beckn / beckn-ui-workspace

Mono Repo for Beckn UI Workspace
9 stars 12 forks source link

EC - Incorrect Requirement for Unique Usernames During Signup #1131

Closed omkar-em closed 4 months ago

omkar-em commented 4 months ago

Bug Description:

Summary: During the user signup process, the system incorrectly requires usernames to be unique, even though the email address is already being used as the unique identifier. This redundancy creates an unnecessary barrier for users attempting to register.

Steps to Reproduce:

Navigate to the signup page of the application.
Enter all required information including a username that is already taken by another user.
Submit the form.

Expected Result: The system should not enforce unique usernames since the email address is the unique attribute for user identification. Users should be able to sign up with any username regardless of whether it is already in use by another user.

Actual Result: The system rejects the registration attempt with an error message indicating that the username is already taken, thus preventing the user from completing the signup process

shreyvishal commented 4 months ago

Current Status: All the analysis has been done and found the solution that the UI will consume the POST api of the profile collection of strapi bap and will create a profile for the the newly signed up user just after the signup is successful. cc: @faizmagic @viraj89