Current behavior is that the front-end generates the username and sends to the server, hoping it works. Usernames must be unique, so if we send a duplicate username for a new student, this happens:
Identify an existing username in the database.
Click "Add User" (or add student, etc) and enter the username from step 1.
Result - server does not return a response. It should return 409 - CONFLICT.
Instead of fixing this bug, we should redefine the process for creating a username
Front-end should not create the username. username should be undefined in the front-end request to create a new user.
Back-end should generate the username to guarantee there is no conflicts with existing usernames.
Username must be <= 15 characters (Auth0 requirement)
Come up with a naming convention that minimizes possible conflicts. (e.g. Kettering was mburk6604)
Current behavior is that the front-end generates the username and sends to the server, hoping it works. Usernames must be unique, so if we send a duplicate username for a new student, this happens:
Result - server does not return a response. It should return 409 - CONFLICT.
Instead of fixing this bug, we should redefine the process for creating a username