User story
User wishes to securely access their workout information and login to app, so authentication must be added to the backend.
Description
The Add Authentication to Backend Service issue involves implementing authentication mechanisms in the backend service to provide secure access to user data and workout information. This includes an authentication middleware, implementing registration and login endpoints, and ensuring that authenticated users have appropriate access to backend resources.
Acceptance Criteria
[ ] Include authentication middleware to validate user credentials and secure access to protected endpoints
[ ] Authentication mechanisms such as access tokens or JWT must be used to generate and validate tokens for users.
[ ] User registration with email and password
[ ] User login with email and password
[ ] Authentication through Apple or Google or OAuth
[ ] Secure user credentials and sensitive data
[ ] Authenticated users have access to their data and app
[ ] Unauthorized users redirected to home page
[ ] Error handling to provide user feedback during authentication process (incorrect user or password for example)
Testing
[ ] Verify that user authentication function works, including registration, login, logout
[ ] Verify credentials are encrypted
[ ] Ensure users have a profile object generated to associated account
[ ] Verify that unauthorized users do not have access to app
[ ] Verify that authorized users have access to the app
User story User wishes to securely access their workout information and login to app, so authentication must be added to the backend.
Description The
Add Authentication to Backend Service
issue involves implementing authentication mechanisms in the backend service to provide secure access to user data and workout information. This includes an authentication middleware, implementing registration and login endpoints, and ensuring that authenticated users have appropriate access to backend resources.Acceptance Criteria
Testing