adrianpowers / puckscore-backend

This repository serves as the backend for the competitive air hockey scorekeeper and database app, Puckscore.
1 stars 0 forks source link

User and Administrator Authentication #2

Open adrianpowers opened 4 months ago

adrianpowers commented 4 months ago

This is a longer-term goal, but it would be amazing to have user authentication.

The biggest hurdle will be linking what the TOs put in with how the player signs up.

adrianpowers commented 2 months ago

After some research, the best way to go about this will be to have a unique token assigned to each player in the database. This token is then provided to the player, and they provide it upon signing up for the app.

This will likely end up being each player's first and last name. Though, in the (very rare) case of duplicates, we'll need a database of these unique IDs to check against and make sure it doesn't already exist whenever administrators create a new player in the rankings system.