As a student, I should be able to login, so that I can access the features of this app #28
Labels
Status: Completed
Type: Feature
user story
A brief explanation of a functionality or an interaction with the system, from a user's perspective
Summary
As a
student
, I should be able to login, so that I can access the features of this appAcceptance Criteria
GIVEN a
student
is logging in in the appWHEN the app hits the
auth/login
endpoint with a valid POST request, containing:THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
Resources
Dev Notes
[Some complementary notes if necessary:]
Testing Notes
Scenario: Login request is successful
/auth/login
endpoint.200
status code is returned.Scenario: Login request is unsuccessful
/auth/login
endpoint containing an unknownerp
.401
status code is returned.code
parameter should contain an error pointing out incorrect credentials.Scenario: Login request is incorrect
/auth/login
endpoint with an incorrect key name in the body.422
status code is returnedcode
parameter should contain an error pointing out failed validation.The text was updated successfully, but these errors were encountered: