Once #142 is complete and users can be created, we can now allow users to sign in and manage their session. The backend and frontend already support this functionality, it just needs to be connected.
TODO
[ ] In the "Log In" page when the "Login" button is clicked, use the frontend API call login (found in the LoginService.ts file) to log the user in w/ JWT authentication
Notes
The application should be able manage the session w/ the JWT authentication automatically (i.e. as components refresh), so I wouldn't worry about future steps. However, ensure that the user is actually logged in by debugging the application.
Context
Once #142 is complete and users can be created, we can now allow users to sign in and manage their session. The backend and frontend already support this functionality, it just needs to be connected.
TODO
login
(found in theLoginService.ts
file) to log the user in w/ JWT authenticationNotes
The application should be able manage the session w/ the JWT authentication automatically (i.e. as components refresh), so I wouldn't worry about future steps. However, ensure that the user is actually logged in by debugging the application.