-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Server
- Login Handler
- Check if username in database
- Hash plain text password, append salt, and check if matches database
- Return appropriate response and code
- Register Handler
- Check if username already exists
- Check if email is valid
- Create user
- Return auth token
Things to consider
We will need to add auth tokens to the user database.
- Do we want to make JWT tokens?
- Do we want multiple tokens with expiration dates or just one single token with expiration?
- How long should the token last for?
- How do we validate email? Regex or sending a confirmation email?
Metadata
Metadata
Assignees
Labels
No labels