issues
search
Zachiah
/
baptist-piano-site
0
stars
0
forks
source link
Add automated tests of authentication system
#1
Open
Zachiah
opened
2 years ago
Zachiah
commented
2 years ago
Ensure /auth/api/login validates the request to match { email: email}
Ensure when successful, /auth/api/login will send a token (it will call the sendEmail function)
Ensure that the /auth/api/authenticate route validates request to look like {email, emailToken}
Ensure that the /auth/api/validate_request_auth route will correctly show if the user has a valid jwt